Search results
Search results 241-256 of 256.
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.
> Erst mal großes Lob - ich finde das Projekt super und freu mich riesig. Java und VB in einem. Echt super! danke > Jetzt aber auch gleich meine Frage: > Gibt es auch einen Build für Linux/Unix, oder ein Jar-File mit Jabaco, ein SVN/CVS, > wo man sich das eventuell auschecken und selber bauen kann? das framework ist open-source und kann natürlich überall verwendet werden. die portierung von jabaco auf andere systeme ist momentan noch problematisch, aber steht bereits auf meiner liste. ich werde ...
wird im nächsten update geändert - vorerst folgende lösung: Jabaco Source 1 2 3 4 5 6 Public Sub Command1_Click() list1.AddItem "lala" list1.ListIndex = list1.ListCount - 1 list1.ensureIndexIsVisible list1.ListIndex End Sub
> Erste Frage: Wie kann ich Form2 modal aufrufen? In VB geht das ja mit Form2.Show vbModal Diese Funktion fehlt im Jabaco-Framework. Du kannst entweder direkt JDialog von Java verwenden, oder auf einen Wrapper warten - alternativ kannst du das auch gerne selbst im Framework implementieren > Zweite Frage: Wie kann man programmatisch eine Form schließen? > Form2.Close oder Unload Form2 funktioniert leider nicht. Hmm... Form.close klingt nicht schlecht - das werde ich so in's Framework übernehmen. ...
Java and Visual Basic are very different technologies. I'll show you some opportunities with the Jabaco-concept in both worlds: DoEvents: You'll find a fractal-sample in your Jabaco-Installation. Your PC is busy during the calculation of a fractal. Maybe the user would like to stop the calculation before it is finished? The normal way to do that with Java is: create a thread and write several synchronizations. With Jabaco you are able to force the event processing of Java. Exactly like Visual Ba...
> I wonder if it is possible to "convert" all VB code to pure Java, can you give some > details in your documentation. It would be great to understand how it is all done... I think it isn't possible to convert an existing Visual Basic project to Java, or it isn't very smart to do that e.g. how would it looks like if you translate Visual Basic's "On Error Resume Next" to Java's "try{}catch{}". You are able to convert an existing Visual Basic project to Jabaco - and with Jabaco you are able to com...
I'll descripe the auto update mechanism of Jabaco to make it more transparent for you: On every start of Jabaco it asks the Jabaco.org-Server for a newer version. You'll get a message if there is a newer software-, or framework-version avail. Whatever you do with this message - it should be shown only one time. Select 'Update Jabaco' in the help-menu to force an update manually. Some updates are not included in the start-check (e.g. smaller framewok-changes). The auto-update versions are marked ...
Jabaco is multilingual. You are able to translate it to your native language. Short tutorial to do that: Switch to your install-pathOpen the folder './lang'Copy the existing file 'english.xml' to 'yourlanguage.xml'This file is your template nowOpen your new file 'yourlanguage.xml'Replace the Quoted value="English" through Quoted value="YourLanguage" Start Jabaco and select your new languageReplace the english-text through your language in the templateTo proof your changes, click on the language ...
Changelist: Added WinAPI-SupportDefinition: I added a JNI-Wrapper for Jabaco. You are now able to use external libs (like the Windows API) with only one declaration. There are some differents to the Visual Basic implementation. At the moment it isn't possible to use 'any', or the addressOf-operator. Important: This feature is implemented for the Windows platform only. Example: Jabaco Source 1 2 3 4 5 Private Winapi Function GetTickCount Lib "kernel32.dll" () As Long Public Sub Command1_Click() M...
Jabaco is a simple programming language with a BASIC like syntax that enables you to build powerful applications on the Java Framework. Features BASIC to Java Bytecode-CompilerOpen Source Framework with many Visual Basic functions and wrappersJabaco Debugger (over JDWP)Graphical GUI-Editor for rapid application developmentSource-Editor with autocompletionJava Exe-Wrapper for WindowsJabaco in action: http://www.jabaco.org/webcast.html
You have to create the Jabaco-Menu in the "Form_Load()"-Routine. You'll find a MenuBar-Property inside the Jabaco-Form. Declare a new VBMenuGroup as parent item. Add a new VBMenuItem with VBMenuGroup-Owner. Similar with Seperator. It is possible to create an icon for each Menu-Item, add a new Image (Gif-,Jpg, Png-File) to the Jabaco-Resource-Manager. Example: Jabaco Source 1 2 3 4 5 6 7 8 9 10 Public Sub Form_Load() Dim tmpGroupFile As VB#VBMenuGroup = Me.MenuBar.createMenuGroup(Nothing, "File",...
There are millions of Frameworks based on Java. Jabaco is based on Java too - so it is very simple to use every Java-Library with Jabaco. You could use Frameworks like Hibernate, Java3D, eFace, ... Let's go. I'll show you how to use the Java XML-Lib. I have googled for Java XML and found javax.xml.parsers.DocumentBuilderFactory. That sounds good and so i have a look to http://java.sun.com/j2se/1.4.2/docs/api/…derFactory.html Ok, this Class is abstract and have a static method "newInstance()". Th...
You have several options to call a method with Jabaco. I'll explain the differents. The fastest method is calling a known object: Jabaco Source 1 2 3 4 '1) Create a "Known Object": Dim mySocket As New VB#Winsock mySocket.Connect "127.0.0.1", 1234 MsgBox mySocket.RemoteHost Using the Variant-Type to call a method. Internal it will use reflections so it is slightly slow: Jabaco Source 1 2 3 4 '2) Assign the Object to Variant: Dim myVariant As Variant = mySocket myVariant.Connect "127.0.0.1", 1234 ...
Using Threads in Jabaco is quite simple. Create a Class and implement the "java#lang#Runnable"-Interface. Create a new Thread-Instance ("java#lang#Thread") and refer your "Runnable"-Class in the Thread-Class Constructor. This Interface implements a "Public Sub run()"-Method, which will be invoked by the Thread-Instance when you call the "start"-Method of your Thread-Class. If you have never heared about Threads that may sounds complicated, but don't worry - have a look to the sample. For more In...
Please select your programming languages.