You are not logged in.

Search results

Search results 81-100 of 325.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Friday, January 24th 2014, 2:52pm

Author: Dani

Listbox AddItem Method

Hey there, I have just comitted a patch to the Jabaco framework. You can view my changes rev. 128 here: https://code.google.com/p/jabacoframework/source/list There are many posts throughout this forum on how to download and compile the framework. In fact I have just pointed to a related post a couple days ago: http://www.jabaco.org/board/p4045-framew…m.html#post4045 If you wait a bit I am sure theuserbl will compile the framework and provide the downloadlink here: www.jabaco.org/wiki/Latest_Jaba...

Wednesday, January 22nd 2014, 8:52pm

Author: Dani

Listbox AddItem Method

Hey there, Quoted How about we split the code. Have 1 version of code for a List box without icons, and one code version for list boxes with Icons. Do the same for combo boxes. don't worry about that! My solution is already taking care of all those cases and works fine with my personal jabaco.jar ! I simply did not yet upload it to the framework because I was hoping someone had a hint on how to speed things up with icons too. Just take my code above and compile the framework! Dani

Tuesday, January 21st 2014, 4:46pm

Author: Dani

h2 database - DATABASE_EVENT_LISTENER

Hey, falls es Jemanden interessiert ... im H2 Forum hab ich auf meine Frage bzgl. der oben geschilderten Problematik folgende Antwort bekommen: Quoted ...however it only triggers events at statement start and statement end, so there is no way of knowing where inside a statement it is. And in general there is no good way of implementing such a thing either, given the complexity of SQL... Die Antwort ist nicht ganz zutreffend, da ich immerhin in setProgress() die Anzahl der bereits verarbeiteten D...

Monday, January 13th 2014, 12:15pm

Author: Dani

h2 database - DATABASE_EVENT_LISTENER

zu meinem vorigen Post: ich habe im h2 source Folgendes gefunden, was dann auch max=0 erklärt... http://h2database.googlecode.com/svn/tru…d/Prepared.java Source code 1 2 3 4 5 6 7 8 /** * Notifies query progress via the DatabaseEventListener */ private void setProgress() { if ((currentRowNumber & 127) == 0) { session.getDatabase().setProgress(DatabaseEventListener.STATE_STATEMENT_PROGRESS, sqlStatement, currentRowNumber, 0); } } Hm, wie ich jetzt allerdings bei einem MERGE Statement den Fortschr...

Monday, January 13th 2014, 11:12am

Author: Dani

h2 database - DATABASE_EVENT_LISTENER

Hey, s.o. ich habe jetzt die Methode setProgress() ein bischen erweitert und die Anzahl der Datensätze der Tabelle Test auf 1000000 erhöht. Für current bekomme ich jetzt Werte und der DATABASE_EVENT_LISTENER reagiert wie erwartet. Leider bekomme ich keinen Wert für max. Das müsste dann ja wohl an H2 liegen, oder? Nach wie vor bewirkt Jabaco Source 1 2 3 Command1_Click bzw. getClass().getName() daß eine neue Instanz von Form1, also ein neues Fenster, initialisiert wird! Jabaco Source 1 2 3 4 5 6 ...

Sunday, January 12th 2014, 9:10pm

Author: Dani

Framework compilation problem

Hey there, have a look here, this will help you: http://www.jabaco.org/board/p3440-how-to…k.html#post3440 You also have to copy new classes to your new .jars' VB folder. New classes are also created when you introduced new enumerations to the existing framework classes!! Watch out for those!! When you are changing the existing Framework you pretty much know wich classes to copy and whether these are expected to be smaller or bigger than the old ones. I am just pointing this out because sometimes...

Sunday, January 12th 2014, 8:51pm

Author: Dani

h2 database - DATABASE_EVENT_LISTENER

Hey theuserbl, Quoted Das Problem ist wieder einmal die Form_Load()-Methode. Mach es mit einem Button und es geht ja, so geht es wenn ich den code "amStück" laufen lasse; wenn ich allerdings nur den DatabaseEventListener Teil über einen Button ausführe, dann wird eine neue Instanz von Form1 ausgeführt. Der DatabaseEventListener reagiert dann zwar, liefert aber keine Werte für current und max! Ich hab hier mal ein TestCase, mit einer etwas längeren Beschäftigung für die Datenbank (je nach Cache u...

Sunday, January 12th 2014, 9:30am

Author: Dani

h2 database - DATABASE_EVENT_LISTENER

Hey theuserbl, erstmal vielen Dank, daß Du Dir die Mühe gemacht hast; das Programm läuft so natürlich! Wenn ich nun aber die Routine test() nach Form_Load() verschiebe (und entsprechend Modul1 verändere) bekomme ich nach Aufruf des Programms eine Rekursion und die Methoden der Klasse Class1 werden nicht aufgerufen. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 Public Sub Form_Load() Dim c As New C...

Saturday, January 11th 2014, 6:19pm

Author: Dani

h2 database - DATABASE_EVENT_LISTENER

Hey, ich komme hier grad nicht weiter! Vielleicht kann mir ja jemand helfen. Ich möchte auf eine bestehende h2 Datenbank einen DATABASE_EVENT_LISTENER registrieren, um mit der setProgress() Methode z.B. den Fortschritt einer umfangreichen Sql MERGE Anweisung abzufragen. In den h2 Docs gibt es dazu folgendes Java Beispiel; ABER wie Setze ich das jetzt In Jabaco um? Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 4...

Saturday, December 21st 2013, 9:46am

Author: Dani

Listbox AddItem Method

Hey there, yet another version of getListCellRendererComponent for the ListCellDataRenderer class. It takes care of an issue where most of the properties of the ComboBox - Editor get overridden by LAF !! Have a look at the above code for what else has to be changed to use this. This makes ComboBoxes populated with strings only incredibly fast (compared to what we have now!): Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Public Function getListCellRendererC...

Monday, December 16th 2013, 5:09pm

Author: Dani

Color Picker and Editor Crash

Hey there, I tried everything ... I can not get the editor to crash hmmm, did you try to register every *.dll and *.ocx manually?! Other than that, I don't know, sorry... Dani

Wednesday, December 11th 2013, 11:25pm

Author: Dani

Detect Operating System

Hey there, what exactly are you looking for? You can find more about detecting the OS here: http://www.mkyong.com/java/how-to-detect…propertyosname/ If you are looking for documentation, use this website and its search ability. Have a look at the various code-samples in this forum. Understand that programming with Jabaco you are addressing Java through a VB dialect; therefore searching the web, e.g. sun.com, stackoverflow.com, will help with most of your issues behind the scenes of Jabaco. And a...

Tuesday, December 10th 2013, 10:20am

Author: Dani

Detect Operating System

Hey there, Jabaco Source 1 2 3 Public Sub Form_Load() Debug.Print System.getProperty("os.name") End Sub ...should do! Dani

Sunday, December 8th 2013, 12:57pm

Author: Dani

ComboBox/Listbox AddItem Method very slow - approach to a fix

Hey there, I have located the bottleneck when adding items to ComboBox And ListBox. The problem are these two lines In the ListCellData class: Jabaco Source 1 2 3 tmpCheckBox = New JCheckBox(Text) ... tmpLabel = New JLabel(Text, getIcon(), SwingConstants.LEFT) Creating new instances of those components seems to slow down the whole procedure dramatically! For Strings only I can provide a solution that will make a 100.000 entries and more no problem! For CheckBoxes And Icons I don't have a solutio...

Thursday, December 5th 2013, 8:31am

Author: Dani

JBGrid / Spinner - Update - with SpinnerModels

... and a little picture index.php?page=Attachment&attachmentID=378 [img]http://www.jabaco.org/board/index.php?page=Attachment&attachmentID=378&h=669a209d016602dde9b130c079bd25437bc37413[/img]

Wednesday, December 4th 2013, 1:25pm

Author: Dani

JBGrid / Spinner - Update - with SpinnerModels

https://code.google.com/p/jabacoframewor…ce/detail?r=127 Update Hey there, after my last Update for the JBGrid: JBGrid - Update I have again added a couple of features. Mainly I wanted to be able to use a SpinnerControl as an editor for the JBGrid cells to easily edit date values. I had to change the JBCellEditor quite a bit to do so. I also added the ability to use different SpinnerModels to the Jabaco Spinner. Unfortunatly some of those changes break compatibility to previous versions of the F...

Wednesday, November 27th 2013, 1:43pm

Author: Dani

Color Picker and Editor Crash

Hey there, hm, I don't know ... try using the latest Framework / Jabaco.jar from here: http://www.jabaco.org/wiki/Latest_JabacoFramework_Binary make sure you replace your 'C:\Program Files (x86)\Jabaco\Jabaco.jar' with the new one. I am curious, why did you add 'Jabaco-REV105.jar' to your Imports? A standard SDI Projects Imports looks like this... index.php?page=Attachment&attachmentID=376 Dani

Friday, October 18th 2013, 10:02am

Author: Dani

JBGrid - Update

OK, I looked into it Apple is very restrictive with style as we know. So the ComboBox simply can not be set to the required height of the JBGrid Cell! There is one way arround that, we will have to change the LAF for the ComboBox used by the JBGrid Jabaco Source 1 ComboBox1.Parent.setUI(New javax#swing#plaf#metal#MetalComboBoxUI()) It works, I have tested it; but the ComboBox button is a little too big on the Mac. And of course dependig on the LAF used on a System this might not suit everybody. ...

Friday, October 18th 2013, 7:57am

Author: Dani

JBGrid - Update

Hey there theuserbl, Quoted Have uploaded it. And now the Jabaco Framework Binaries having its own place in the Jabaco-Wiki I LIKE IT... something we have been waiting for for a long time! Quoted Quoted Should there be a variable for transparency? Currently it have not. Do you think, that it will be an good idea to have one? Also I am currently not sure, how to use it then. The property would be in JBGrid. The changes are in JBCellRenderer. It is probably allright the way it is now. We have to b...

Thursday, October 17th 2013, 11:52am

Author: Dani

JBGrid - Update

Quoted It is the same like the MultiLineLabelUI in Jabaco. You are right, as I said, I did not look at the VBA framework code yet ( well, just now I did!) Quoted So, to begin a new line you have to write "\n". Where is the difference to the HTML-solution? Where is it better to write "\n" instead of "<br>" ? I agree... Still, if you try to use that for the tableheader with previous rev. of the framework? It seems like it ignores ' \n '; html works fine. Thats why I outcommented the Call... in th...

WoltLab Burning Board