You are not logged in.

Search results

Search results 261-280 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.

Monday, February 1st 2010, 3:49pm

Author: A1880

Create Windows control on Jabaco form

Cool sample! I guess you have to implement certain event handlers for every window. There is no termination handler for your newly created window. The Swing window management is not aware of your new window. Therefore, the parent window cannot close properly but waits forever. You might have to execute an explicit "DestroyWindow()" to get rid of the new Window. What happens, if you comment-out the "Form1.SetDefaultClose()" in Module1? What about panning, resizing, repainting, ...? Success! A1880

Monday, February 1st 2010, 9:10am

Author: A1880

Serial Port

Simply press function key F1 to open the dialog for project references. There you see the external libraries referenced by your project. It also allows you to add/remove jar libraries. Another feature is to find out details about the various Java classes. Have you tried to use the search facility of this forum? It will show you many posts to answer your questions. Greetings! A1880

Monday, February 1st 2010, 9:05am

Author: A1880

WebBrowser

That's a reference to "javax.swing.text.html.HTMLDocument", a class of Java Swing. Swing is the Java graphics system used by the Jabaco framework to display forms, buttons, user controls in general, ... The Jabaco syntax uses "#" instead of "." as path separator for Java class hierarchies. If you ask Google for javax.swing.text.html.HTMLDocument it will return 24.800 hits. Happy reading! A1880

Sunday, January 31st 2010, 6:54pm

Author: A1880

Serial Port

Inline code via "emit" or similar statements is not supported. This would be a very powerful but also dangerous feature. People who know how to deal with binary Java code could probably generate an apropriate Java class outside of Jabaco, pack it into a Jar library and add it to the Jabaco classpath. Inlining would probably depend on the Java implementation. Another problem could be to prevent debugger crashes. Greetings A1880

Sunday, January 31st 2010, 6:48pm

Author: A1880

Jabaco for Linux question

When compiling a Jabaco project, you can choose between two file types: 1. Exe to be directly executed under MS Windows (in fact, this exe is a self-unzipping Jar file which is unpacked into %TMP% and then executed via java- jar) 2. Jar to be executed via Java This jar file is a zipped archive of binary java classes. You can copy it to any system capable of executing Java jar files. Rename the file to xxx.zip to be able to open it and see the contents. Note that you run into trouble when using J...

Friday, January 29th 2010, 9:33pm

Author: A1880

All forms load, but only one form.Show executes

Please explain your problem in a bit more detail. You have placed two buttons on one common form. What should happen if you press the first button? What should happen when pressing the second button? What role does the textbox play? Normally your code should look similar to this: 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 Option Explicit Public Sub Command1_Click() MsgBox "pressed button 1" End Sub Public Sub Command2_Click() MsgBox "pressed button 2" End Sub Public ...

Friday, January 29th 2010, 11:11am

Author: A1880

Startup problem

Connection between Jabaco IDE and Java Virtual Machine is established using the Java Devug Wire Protocol JDWP see here. As far as I know, this can work via TCP Sockets or via Shared Memory on Windows. Could there be a problem with TCP or IP name resolution on your system? Things to check: - entries in C:\WINDOWS\system32\drivers\etc\hosts - entries in C:\WINDOWS\system32\drivers\etc\networks - Domain Name Server working properly for name resolution (try "nslookup www.google.fr") - Applications r...

Friday, January 29th 2010, 8:10am

Author: A1880

Startup problem

Everything looks healthy. Perhaps you could describe in more detail what happens during the failure. What can you start? What is not possible? Which messages do you see? Salutations! A1880

Thursday, January 28th 2010, 8:34pm

Author: A1880

Startup problem

Bad luck so far ... Thanks for your patience! Before giving up, you could re-create the three files you posted at 4:35pm Perhaps, I can spot some additional issue. Cheers A1880

Thursday, January 28th 2010, 5:25pm

Author: A1880

Startup problem

According to your directory timestamps, your most recent Java is Source code 1 set JAVA_HOME=C:\Program Files\java\jre6 Try to set JAVA_HOME as shown above. Use the Java control panel in your Windows system control panel to make sure that the most recent java is actually active. The following PATH entries might interfere with Jabaco and/or Java: Source code 1 2 C:\PROGRA~1\FICHIE~1\JAVADB C:\SheerPower\ Greetings A1880

Thursday, January 28th 2010, 1:28pm

Author: A1880

All drop-down lists in the Jabaco IDE should be sorted!

The drop-down list of controls on the left-hand side of the Jabaco IDE should be sorted. It is quite tedious to locate a specific control in the list if you have a densely populated form. Sorting also would be desirable in the drop-down list on the top right-hand side of the code window. Greetings A1880

Thursday, January 28th 2010, 9:25am

Author: A1880

Startup problem

Hmm! JAVA_HOME should point to the root of your Java. Your JAVA_HOME references the .\bin subdirectory. Could it be that your JAVA_HOME actually points to an elder/outdated Java environment? To check that, you could look in directory c:\Program Files\Java Are there any newer Java subdirectories? Try the following: Source code 1 2 3 c: cd "C:\Program Files\Java\jre1.6.0_02\bin" .\java -version A shorter test: Source code 1 "%JAVA_HOME%\bin\java" -version Do you still get "1.6.0_17"? It is better ...

Wednesday, January 27th 2010, 10:59am

Author: A1880

Startup problem

To find out the effective Java version, you could do the following: Source code 1 2 3 4 C:\a1880 10:58 > java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing) Your 1.6.0.2 might be the problem Greetings! A1880

Wednesday, January 27th 2010, 9:24am

Author: A1880

Startup problem

Without details, the following hints might be helpful: Update to XP SP3. A lot of bugs and security leaks have been fixed since SP1. Make sure that a Java Runtime Environment (JRE) 1.6.0 ist actually referenced by your system. Download and install a Java 1.6 if not already present on your system. Start the Java Control in your Windows System Control and activate the 1.6 JRE. Check that your environment variables %JAVA_HOME% and %PATH% are set correctly. To do that, you can execute CMD.EXE. Withi...

Wednesday, January 27th 2010, 9:16am

Author: A1880

ListBox control not VB compatible

The following sample routines might inspire you: 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 Public Function description() As String Dim s As String = "" Dim slst As String Dim i As Integer Dim k As Integer Dim bMulti As Boolean Dim idx() As Integer If List1.ListIndex > 0 Then ' one or more fields <> "-" selected idx = List1.Parent.getSelectedIndices bMulti...

Saturday, January 23rd 2010, 11:54pm

Author: A1880

Image Framer - another sample

Hi all, here is a sample to show how to deal with controls, events, images, tooltips, colors, data type conversions, subroutines, functions, strings, commonDialogs, files, java integration, ... The purpose of the application might be useful now and then: it reads a graphics file and adds a grid shaped lattice in front of it. This might look like a prison, but it can look good depending on the inspiration of your parameter setting. Enjoy! A1880 index.php?page=Attachment&attachmentID=168

Saturday, January 23rd 2010, 12:57pm

Author: A1880

Out of stack space (Run-tine 28)

Ich kann dem Beispiel nicht auf Anhieb ansehen, warum es soviel Stack Space braucht. Es kann sich um einen Fehler oder um einen beabsichtigten Ablauf handeln. Compiliert man das Jabaco-Projekt in ein Jar-File, so kann man dieses mit Java-Parametern aufrufen, die Stack und Heap vorgeben: Source code 1 java -Xss4M -Xms32M -Xmx128M xyKlasse Überläufe des Stack gibt's normalerweise entweder bei endloser Rekursion oder bei zu großen lokalen Variablen. Kannst Du mit dem Debugger die Stelle eingrenzen,...

Tuesday, January 19th 2010, 10:39pm

Author: A1880

New Version

Sure! Just send a CR and a drafted FD to make it happen! Truly excellent suggestions with an explanation as lucid as yours are always honoured instantaneously ;-) Keep on! A1880

Monday, January 18th 2010, 4:48pm

Author: A1880

Jacob's changed and I can't figure it out

Looks like a crash in the middle of Jacob. Happy digging! A1880

Monday, January 18th 2010, 4:45pm

Author: A1880

GUI for a command line program

You might want to ask Google for "Python GUI building". There are numerous frameworks and approaches, but most of them have deficiencies in one way or another. I gues that Jabaco would mean adding a third programming language to the whole affair. Python seems to be more a language for server scripts rather than for driving the logic behind GUIs. Tell us what you found in the end. Success! A1880

WoltLab Burning Board