Search results
Search results 141-160 of 500.
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.
Where can I find information on the commandline mode or the commandline compiler? I haven't been aware of this feature. Maybe, because I am no framework developer. Greetings A1880
Automatic recompilation of Jabaco classes is not feasible for the time being. A commandline version of the compiler is necessary to integrate compilation in ant or make scripts. Possibly, one could use automation tools like AutoIt3 to run the Jabaco IDE in a scripted fashion. But that's probably a rather bizarre way of doing things. Personally, I don't intend to use Jabaco commercially but rather take it as an intellectual exercise. Jabaco is related to many current technologies and it is fun (a...
There is a separate thread on serial communication. Greetings A1880
Sorry for my somewhat ironic post from January. Some suggestions are simply a bit too far-reaching and lack any sound reasoning. I am wondering if there will be a new version at all in the foreseeable future. Jabaco is quite complex, and there is still only one developer behind it. It would help to get some volunteers to straighten out the missing bits and pieces in the framework. Greetings A1880
It might be possible to add your own controls to the IDE toolbar, but I am not aware of any simple way to achieve that. You could define and use your own usercontrols. What are you trying to do? Greetings A1880
Sorry, as mentioned before, I can't check this any further. A1880
Dieses Beispiel zeigt, wie man eine existierende Textdatei ausdrucken kann. Außerdem zeigt es den Umgang mit dem Desktop-Objekt. Nebenbei erfährt man noch, wie Java-Klassen eingebunden werden. 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 Option Explicit Import java#awt#Desktop Public Sub Command1_Click() Dim desk As Desktop Dim fileToPrint As java#io#File On Error Goto ErrHandler If Desktop.isDesktopSupported() Then Debug.Print "Desktop-...
What source code is Form1.jsrc:14 ? This operation causes the exception. Happy hacking A1880
Try this: Jabaco Source 1 en = Cast(CommPortIdentifier.getPortIdentifiers(), CommPortEnumerator) Greetings A1880
Hi, have you read and followed the comment in the code? Jabaco Source 1 2 ' Download JExcel distribution from URL above and add jxl.jar to ' Jabaco classpath (press F1) Your error happens if JExel is not on your system or not included in the project classpath. Success! A1880
In VB.net spart man das Deklarieren von Methoden und Konstanten, da das schon im Namespace Microsoft.Win32 enthalten ist. Die eigentlichen Zugriffe sehen immer ähnlich aus. Siehe hier. Auch in VB.net ergibt sich das Problem, dass nicht alle Empfänger deiner Software einheitliche Frameworkversionen installiert haben. Für Windows-Systeme ist Jabaco kein Konkurrent von VB.net. Der Vorteil von Jabaco ist eben, dass du eine Unzahl existierender Java-Bibliotheken nutzen kannst. Außerdem generiert dir ...
Sehr viel kürzer geht es in VB auch nicht ... Gruß! A1880 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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 ...
Hier ist ein Übungsbeispiel auf Basis von JNIRegistry: 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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 Option Explicit ' download from http://www.gjt.org/download/time/java/jnireg/registry-3.1.3.zip Import com#ice#jni#registry ' make sure that "registry.jar" from JNIRegistry is part of the project classpath ' copy ICE_JNIRegistry.dll to the Jabaco proj...
Beispiele habe ich dazu nicht. Generell sind drei Wege denkbar: 1. Per WINAPI die entsprechenden Windows-Funktionen in Jabaco deklarieren und aufrufen. 2. Ein Java Framework einbinden, das Registry-Funktionen bietet 3. Über exec() ein externes Programm ("reg.exe") aufrufen und darüber die Zugriffe vornehmen. Vermutlich geht es über 2. am besten. Aufrufe per WINAPI scheitern manchmal an den begrenzten Möglichkeiten der Parameterübergabe. Per exec() zu arbeiten, bedeutet Gefummel mit Prozessen und...
Yes, with class method I mean the static method. However, I am not sure what happens if you access member variables from such a method. I have not experimentes with methods explicitly declared as "static". Overriding probably needs some more testing, explanation and clarification. "@Override" is not mandatory for Java. It just tells the compiler to check and compare the parameter signatures. Using a decompiler I've found that Jabaco compiles the methods 1:1 without change. Therefore, the overrid...
Hi, after a bit of experimenting, I've found out what is missing in your sample. The following code for BaseClass works as you expected: Jabaco Source 1 2 3 4 5 6 7 8 Public Sub FooOverridable() Debug.Print "BaseClass -> FooOverridable" End Sub Public Sub Foo() Debug.Print "BaseClass -> Foo" Me.FooOverridable End Sub Note the difference? I am calling "Me.FooOverridable" rather than just "FooOverridable". Adding "Me." makes the call to refer to the instance method, while leaving it out, you just ...
Du könntest statt ToolBars Usercontrols definieren, die jeweils aus PictureBoxes mit Eventhandlern bestehen. Dein ToolBar-Usercontrol könnte eine Init-Methode bekommen, bei dem es dynamisch festlegt, welche Bilder wo geladen werden. Vermutlich müsstest Du eine Resize-Methode implementieren, damit das Usercontrol seine Breite bei Bedarf anpasst. Gruß! A1880
Eine ToolBar kann man m.E. nur in Form, Dialog oder Applet erzeugen. Ein Usercontrol ist ja nur eine Ansammlung von Controls (oder rekursiv Usercontrols ...), um die mühsame Definition von gleichartig sich wiederholenden Control-Konstellationen zu erleichtern. Wie man kaum einer PictureBox oder einem Frame eine ToolBar verpassen würde, so fällt mir auch keine Begründung dafür ein, es bei einem Usercontrol zu versuchen. Wenn Du Deinem Beispiel-Code die Zeile "Option Explicit" voranstellst, bekomm...
Dialog is a subclass of JDialog. The implementation can be found here. Dialogs are typically called from within a Form or another Dialog. However, it might be possible to use a Dialog as user interface of a complete application. But I've never seen this in practice. Form is derived from AbstractForm as described here. Forms are used as containers for a complete application. They can have min/max icons, system menus, user menus, etc. You might want to look at the code to get to know the differenc...
Look at this (artificial) sample: 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 Option Explicit Public Sub Command1_Click() Dim arr(10) As PictureBox Dim i As Integer Dim s As String For i = 1 To 10 arr(i) = New PictureBox Next i For i = 1 To 10 arr(i).ToolTip = i Next i s = "" For i = 10 To 1 Step -1 s = s & " " & arr(i).ToolTip Next i MsgBox s End Sub The sample shows how to define and fill an array of object references, You have used the "as new Class1" syntax whic...