You are not logged in.

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.

Tuesday, November 25th 2008, 6:22pm

Author: Manuel

Jabaco auf Linux/Unix

> 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 ...

Tuesday, November 25th 2008, 1:05pm

Author: Manuel

ListIndex-Property einer Listbox funktioniert anders?

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

Tuesday, November 25th 2008, 11:57am

Author: Manuel

Allgemeine Fragen zu Forms (Open und Close)

> 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. ...

Tuesday, November 25th 2008, 9:19am

Author: Manuel

BASIC meet Java (some internals)

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...

Tuesday, November 25th 2008, 6:00am

Author: Manuel

Thank you Matthias.

> 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...

Tuesday, November 25th 2008, 5:13am

Author: Manuel

NEWS: Jabaco Autoupdate

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 ...

Tuesday, November 25th 2008, 3:53am

Author: Manuel

Translate Jabaco into your native language

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 ...

Tuesday, November 25th 2008, 3:00am

Author: Manuel

UPDATE: Framework 1.1

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...

Monday, November 24th 2008, 3:58am

Author: Manuel

Added: BASIC (generic)

Thank you Garrett.

Friday, November 21st 2008, 8:52pm

Author: Manuel

RELEASE: Jabaco 1.4.0 BETA - 2008-11-18

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

Friday, August 22nd 2008, 2:33am

Author: Manuel

Create Jabaco-Menu / Jabaco-ToolBar

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",...

Friday, August 22nd 2008, 1:51am

Author: Manuel

Using Java-Framework's inside Jabaco

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...

Friday, August 22nd 2008, 1:04am

Author: Manuel

Invoke Methods

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 ...

Thursday, August 21st 2008, 10:41pm

Author: Manuel

Threads and Synchronisation

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...

Thursday, August 21st 2008, 9:06pm

Author: Manuel

Programming language

Please select your programming languages.

WoltLab Burning Board