You are not logged in.

Search results

Search results 101-120 of 436.

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.

Tuesday, October 15th 2013, 2:42pm

Author: theuserbl

Using a final variable in Jabaco

For me, it works fine: Jabaco Source 1 2 3 4 Public Sub Command1_Click() Dim envProvider As New PcEnvProvider Dim state1 As New org#randoom#setlx#utilities#State(envProvider) End Sub Greatings theuserbl

Tuesday, October 15th 2013, 2:35pm

Author: theuserbl

ComboBox/ListBox - Update

Quoted from "Dani" I found a little bug: The JBGrid ComboList BackColor is messed up since ComboBox has its own BackColorAlternating Value now! Fixed: [ JabacoFramework-rev117.zip ] Greatings theuserbl

Monday, October 14th 2013, 10:44pm

Author: theuserbl

RE: Using a final variable in Jabaco

Quoted from "jbExplorer" , how do you call the constructor from Jabaco? Oh, it IS an constructor. Sorry, I have overread it. Calling it like in Java: Jabaco Source 1 Dim a As New whatthe(something)

Monday, October 14th 2013, 10:41pm

Author: theuserbl

Using a final variable in Jabaco

For me it works correct. Compiled Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 public class Test { public static void main(String[] args) { System.out.println(addIt(5,7)); System.out.println(addIt(9,14)); System.out.println(addIt(13,4)); } public static int addIt(final int a, final int b) { return a+b; } } and it works. Then I packed it to a zip-file and included in the Jabaco-Classpath. Running this Jabaco Source 1 2 3 Public Sub Command1_Click() MsgBox (addIt(14,78)) End Sub works then, t...

Monday, October 14th 2013, 4:12pm

Author: theuserbl

ComboBox/ListBox - Update

Quoted from "Dani" Anyway, I will start a thread somewhere else and allways add new versions to it. I will take your links if you don't mind. That way we will have every release in one place and people can refer to this thread. Possible we could add those links to the wiki: http://www.jabaco.org/wiki/Main_Page (Login-name and Password is the same like for this forum). After your changes, this sides could be extended with the new features: http://www.jabaco.org/wiki/JBGrid http://www.jabaco.org/...

Monday, October 14th 2013, 3:34pm

Author: theuserbl

ComboBox/ListBox - Update

Ok, uploaded at [ JabacoFramework-rev116.zip ] To all: It is now needed to unzip this zip file in your Jabaco-directory. Beside a new Jabaco.jar it includes a new Jabaco.xml and all language-files in the SVN. If you are using Windows 7 or Windows 8, then have additional a look, if the directory C:\Users\[Your WinAccountName]\AppData\Local\VirtualStore\Program Files (x86)\Jabaco exists and if there is a file called Jabaco.xml included. If it is so, then overwrite it with the XML-file in the zip-p...

Sunday, October 13th 2013, 4:00am

Author: theuserbl

JBGrid - Update

Quoted Framework rev. 114 - I hope theuserbl will take care of providing the .jar Done: [ Jabaco-rev115.jar ] Greatings theuserbl

Saturday, September 28th 2013, 2:13pm

Author: theuserbl

RE: Jabaco Activation

Quoted from "alfreds" Your registry is write protected! Software ist Win8 / 64 bit Starte Jabaco mit Admin-Rechten (zumindest das erste Mal, wenn Du den Registrierungscode eingeben willst). Klicke hierfür unter Windows mit der rechten Maustaste auf das Jabaco-Symbol. Und wähle auf dem auftauchenden Popup-Menü "Als Administrator ausführen" aus. Grüße theuserbl

Thursday, September 12th 2013, 6:07pm

Author: theuserbl

App.Path

Last post from me for today. Here a little program, which tests all three for you: Jabaco Source 1 2 3 4 5 Public Sub Command1_Click() MsgBox "CurDir: " & vbNewLine & CurDir & vbNewLine & vbNewLine & _ "App.Path: " & vbNewLine & App.Path & vbNewLine & vbNewLine & _ "App.JabacoFrameworkPath: " & vbNewLine & App.JabacoFrameworkPath End Sub Greatings theuserbl

Thursday, September 12th 2013, 5:50pm

Author: theuserbl

RE: RE: App.Path

Quoted from "theuserbl" The App.Path of version 105 is identical to HomeDir. Correction: The App.Path of version 105 is identical to CurDir. But do you really think, that CurDir is a better implementation of App.Path then the current App.Path? You begun this thread, that the old implementation of version 105 don't work correct for you. Greatings theuserbl

Thursday, September 12th 2013, 5:32pm

Author: theuserbl

RE: Reply to Dani

Quoted from "Perry" C:\DOCUME~1\PERRY~1.ALB\LOCALS~1\Temp It works perfect. The point is, you compiled not to jar-file. You compiled to an exe-file And the exe-file extracts the included jar-file in that temp-directory and start the jar-file there. Have a look in C:\DOCUME~1\PERRY~1.ALB\LOCALS~1\Temp If your file was called MyProgram.exe, then you will find in this directory the file MyProgram.exe.jar Greatings theuserbl

Thursday, September 12th 2013, 4:20pm

Author: theuserbl

RE: App.Path

Quoted from "Perry" There was one version ( 105 ) where this worked properly. Where was this changed? We might have to go back and study that? It is all there, in the actual version 111. The App.Path of version 105 is identical to HomeDir. That will not change, if you move the program. So I don't think, that this is, what you want. Later there was integrated the code of Dani in App.Path. The problem: With getClass(...) it gets the class where it stands in. In our case, it is the class called Ap...

Tuesday, September 10th 2013, 6:39pm

Author: theuserbl

How to use getRunTime().exec()

In Jabaco you can additional use the Shell() command: [ http://www.jabaco.org/board/p3449-how-to…e-in-linux.html ] Greatings theuserbl

Tuesday, September 10th 2013, 6:37pm

Author: theuserbl

App.Path

Try out [ Jabaco-rev111.jar ] Bug was fixed. There still existing some little bugs with App.Path, but for most cases it works. Test it! And App.JabacoFrameworkPath works since rev 109. To fix the problem a german Java community have helped me: [ http://forum.byte-welt.net/threads/10058…s-forName%28%29 ] Greatings theuserbl

Friday, September 6th 2013, 12:15am

Author: theuserbl

App.Path

Hmmm... needs a little bit longer to find it out. This one works: Jabaco Source 1 2 3 Public Sub Form_Load() MsgBox getClass End Sub But if I want ask in an external class, then getClass() gives out the place of the class, where it stands in. In case of the JabacoFramework it is VB#App. And VB#App is, where the JabacoFramework is. But I want to know the place of the own program. That is the file with the main() method and which will be started. This gives out that class file: Jabaco Source 1 2 3...

Thursday, September 5th 2013, 11:32pm

Author: theuserbl

RE: App.Path

Quoted from "Perry" Maybe it's just me or my machine, but this code doesn't work for me. Hmmm.. don't know why. But it works, if you don't run it direct after start: Jabaco Source 1 2 3 4 5 Public Sub Command1_Click() Dim gLP As String gLP = App.Path Debug.Print gLP End Sub But integrating it direct on that position, it works at the start: Jabaco Source 1 2 3 4 5 Public Sub Form_Load() Dim gLP As String gLP = New java#io#File(getClass.getProtectionDomain.getCodeSource.getLocation.toURI.getPath)...

Thursday, August 29th 2013, 5:29pm

Author: theuserbl

App.Path

Ok, and now again a new version of Jabaco.jar: [ Jabaco-rev109.jar ] Now there existing a functional App.Path and App.JabacoFrameworkPath Greatings theuserbl

Wednesday, August 28th 2013, 10:37pm

Author: theuserbl

Listbox (Checkbox)

Have now uploaded Jabaco revision 108: [ Jabaco-rev108.jar ] And sad news: On January 15, 2014 and later, I will no longer have the ability to upload new version of Jabaco.jar on [ https://code.google.com/p/jbaindi/downloads/list ] The reason is, that Google stops its service, to upload files for developers: [ http://google-opensource.blogspot.de/201…ad-service.html ] Hopefully the SVN-tree of the Jabaco-Framework will be longer supported. I think I need to surch for a new place for uploading fi...

Thursday, August 22nd 2013, 1:48am

Author: theuserbl

Gradient Jlabel - How do I get text to appear?

Ok, there existing two alternatives. With paint(): Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Option Explicit 'override 'SuperClass: javax/swing/JLabel Dim gradientPaint As java#awt#GradientPaint = New GradientPaint(0, 70, color.gray, 0, 0, color.white, False) 'Public Sub paintComponent(g As Graphics) Public Sub paint(g As Graphics) On Error Goto LoadErr Debug.Print Me.getText() Dim g2 As Graphics2D = Cast(g, Graphics2D) g2.setPaint(gradientPaint) g2.fillRect(1, 0, Base....

Thursday, August 22nd 2013, 1:27am

Author: theuserbl

Gradient Jlabel - How do I get text to appear?

You have to uncomment the line with paint() and comment the line with paintComponent(). Then it works fine. Greatings theuserbl

WoltLab Burning Board