Search results
Search results 81-100 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.
Your project is a Web Applet. Do you get the same effect if you try a normal SDI (single document interface) Windows application? Greetings A1880
Looks like a lot of work. Thanks for your time! A1880
It runs OK on my systems (Windowx XP Home+Professional, SP3, JDK 1.6.23). I have no idea what could be wrong with the systems which suffer from these problems. Sorry! A1880
Hmmm? I get a proper white menu with black characters.index.php?page=Attachment&attachmentID=259 I am not aware of options to configure these pop-up windows. It probably takes some reading of Java swing notes and digging in the Jabaco framework sources to find out details. Which plaform Linux/Windows are you using? Please post your findings Greetings A1880
Have you tried to install a Java Development Kit elder than JDK 1.6.23? Greetings A1880
Look here. Please don't double-post your questions. Greetings A1880
Hi, the following compiles OK: 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 Option Explicit ' run "ant jar" to build the jasperreports jar files ' X:\jasperreports-4.0.0\dist\jasperreports-4.0.0.jar ' ' ..\Lib\*.jar are distributed with the download file ' X:\jasperreports-4.0.0\Lib\commons-beanutils-1.8.0.jar ' X:\jasperreports-4.0.0\Lib\commons-collections-2.1.1.jar ' X:\jasperreports-4.0.0\lib\commons-digester-1.7.jar ' X:\jasperreports-4.0.0\lib...
This list in fact does look very promising. Thanks very much for your efforts. How did you create the list including its many crossreferences? I hope that Manuel will find the time to straighten out some of the differences. Perhaps it would help to mark, which discrepancies are due to the IDE and the compiler. Framework issues can be handled by the community. Greetings A1880
To connect to a database and execute SQL statements, you can use the JDBC facilities. Search the forum for samples. Once you have the data, you could display it using a RichTextBox. RichTextBox is one of Jabaco's control types which can be placed in a form. RichTextBox.Parent is an object derived from JComponent. There is a Print() method available, but it certainly takes some reading and experimentingto get this to work. Google is your friend! My preferred way is to create a HTML text file as r...
This sample raises the question of how to define a genuine Java array in Jabaco code. "Dim myList" does not specify a variable type. The return value to myFile.listFiles, however, is an array of File. Is there any proper way in Jabaco to define array variables like "myList" with an explicit variable type? Out of a similar reason I have not managed to call a Java function out of Jabaco which requires an array of char parameter. Any ideas? Greetings! A1880
Thanks for your inspiration! The following might be a bit simpler. Haven't tested in on a Mac, though. Jabaco Source 1 2 3 4 5 6 7 Public Function myAppPath2() As String Dim location As String = getClass().getProtectionDomain().getCodeSource().getLocation().getPath() location = Replace(location,"%20"," ") myAppPath2 = Mid(location, 2, Len(location) - 2) ' remove leading and trailing slashes End Function Greetings A1880
Here is a list of VB keywords as inspiration. Greetings A1880
Thanks for the error hint! This can be circumvented as follows: Jabaco Source 1 2 3 4 5 6 7 8 9 Public Sub Command1_Click() Dim now As Date now = New Date() Debug.Print now Debug.Print Year(now) & "-" & Month(now) & "-" & Day(now) Debug.Print Year(now) & "-" & Right("0" & Month(now), 2) & "-" & Right("0" & Day(now), 2) End Sub The "official" function "now" returns a DateTime value in Jabaco. This is wrongly converted when used as "Date" parameter in functions. Greetings A1880
"Name" is not a property but rather the name of the variable. You could declare a public member variable of the form to assign a name string to the form. Greetings A1880
Jabaco by default has no collection of Forms. It has no collection of Controls either. If you want to enumerate Forms or Controls you have to define the collection yourself and add all collection items during initialization. Example for Controls: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ' keep all user controls in a list Private ucList As java#util#ArrayList Public Sub Form_Load() myForm1 = Me ' cf. mdlGlobal variable ucList = New java#util#ArrayList ' list of user con...
In such cases, one can always look at the framework sources. CDate is implemented as follows in VBA.Conversion.java: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 public static java.util.Date CDate(VBVariant Expression) { if (Expression.isDate()) return (Expression.toDate()); return CDate(Expression.toString()); } public static java.util.Date CDate(String Expression) { java.util.Date ret = null; for (int i = 0; i < CheckDatePatterns.length; i++) { for (int x = 0; x < CheckDatePatterns[i]...
Thanks for the Gambas hint. To be honest: I am not using Jabaco for any serious development work but rather as a mental exercise. My real work horses still are Java (Eclipse) and C# (Visual Studio 2010 Express). Greetings A1880
Console applications don't use Java swing. This gives rise to the suspicion that there could be something wrong with the Swing configuration. Frankly speaking, I'm rather clueless on this one! Sorry! A1880
I don't mind. The Java version is probably more efficient and might be easier to maintain. The Jabaco version demonstrates the power of Jabaco. We could remove all public functions and just let DateDiff survive. Thanks for your initiative! Greetings A1880
Yes, Jabaco's IDE is platform dependent and bound to Windows. Pure Unix aficionados are out of luck here. "Gambas" is a new term for me. Greetings A1880