You are not logged in.

Search results

Search results 81-100 of 112.

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.

Friday, January 3rd 2014, 11:30am

Author: jbExplorer

Using External Jars without including them in the Jabaco project

Quoted from "theuserbl" Quoted from "jbExplorer" Thanks for removing the log requirements, will give it a try. I have now added a compiled version of JCL version2 from github. It is at the beginning without the logging, but on the other side, it is itself a lot of bigger. On github stands, that version 2 is faster, have more functions and so on. So, here is version 2. The jar-file in the the zip-file, because it is not possible to upload a jar-file in this forum. Greatings theuserbl Will play w...

Friday, January 3rd 2014, 2:17am

Author: jbExplorer

Using External Jars without including them in the Jabaco project

Quoted from "theuserbl" Ok, it is really normal reflection. 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 Public Sub main(ByJava args() As String) Dim myArgs() As String Dim jclWhatThe As JarClassLoader Dim oWhatThe As Object myArgs = args System.out.println( "Here we go..." ) System.out.println( "Creating instance of JarClassLoader" ) jclWhatThe = New JarClassLoader() System.out.println( "Adding the jar" ) jclWhatThe.add( "WhattheWorld....

Wednesday, January 1st 2014, 9:31pm

Author: jbExplorer

Using External Jars without including them in the Jabaco project

If for performance reasons during compilation, you would like to load some methods from external Jars at runtime, without including them in the Jabaco classpath, here is one way. The attached project is on my hard drive, at c:\Projects_Programming\Jabaco\ExternalJars. The jcl.jar file in the zip archive, is from https://github.com/kamranzafar/JCL. You will also need to obtain the log4j-1.2.17.jar, from an archive at http://www.apache.org/dyn/closer.cgi/log…og4j-1.2.17.zip , and include it in the...

Wednesday, January 1st 2014, 12:48am

Author: jbExplorer

RE: Happy New Year 2014!

Quoted from "theuserbl" Happy New Year 2014! And again I want to come up, with a new statistic. Again, it is a little bit before 2014, but there will be not changing much in the last hours. The date of registration and the number of people who registred in this date: 2008: 59 ( 2%) 2009: 653 (22%) 2010: 617 (21%) 2011: 444 (15%) 2012: 325 (11%) 2013: 830 (28%) You wonder, that in this year comming so much new member? I wondered, too. Have a look at the added JabacoStats.pdf. There are the numbe...

Wednesday, January 1st 2014, 12:45am

Author: jbExplorer

Suitability of Jabaco for Mobile Development

Quoted from "dilettante" Yes, this repeats info already here but there have been some developments: As far as I know the only popular mobile platform supporting Java in any form is Android, and that uses a different runtime (Dalvik, not a JVM), libraries, and its own native widget/UI framework. So Jabaco is very unlikely to be useful for mobile device programming. An alternative might be Basic4Android. There is also a new companion product B4J, highly compatible with Basic4Android at the source...

Friday, December 27th 2013, 9:41pm

Author: jbExplorer

Suitability of Jabaco for Mobile Development

He actually said that development would continue, Yogi? Then maybe it's in the works, and has just been temporarily delayed. How long ago was that email exchange? His situation might have changed, if it was long ago. But perhaps he does intend to continue.

Wednesday, November 6th 2013, 8:18pm

Author: jbExplorer

example of insert, delete, update with jabaco please

By the way, developers can also make use of Groovy functionality, in Jabaco. Instead of the Java Class.forName() syntax, you can make use of Groovy's newInstance(). I'll put together a complete sample if anyone needs one, but it's something like the following. These are snippets of a utility that imports CSV files into a Sqlite table: '/* ' Install Groovy and attach Jars (will make compiling much slower, but you can decide if it's worth it) ' groovy-sql-2.1.7.jar ' groovy-2.1.7.jar '*/ Import gr...

Wednesday, October 16th 2013, 2:45pm

Author: jbExplorer

Using a final variable in Jabaco

By the way, if anyone is interested in using Setlx in a Jabaco application, it's as simple as the statements we discussed in this thread: Const envProvider As PcEnvProvider = New PcEnvProvider() Const state As State = New State( envProvider ) , and to evaluate valid Setlx statements, ... ... Dim expr As Expr ... ... expr = ParseSetlX.parseStringToExpr( state, sXsetlInput ) sOutput = expr.eval( state ) Where sXsetlInput is a Setlx statement (without the semicolon at the end), and sOutput contains...

Wednesday, October 16th 2013, 12:44am

Author: jbExplorer

Using a final variable in Jabaco

Theuserbl, all set on this side. Rebuilding the Setlx.jar solved the problem, thanks. Quoted from "theuserbl" Quoted from "jbExplorer" Still no go, on this side, even your code is reproduced letter for letter. I'm using Beta 1.5.2. Well, maybe it's related to my framework jar. I had to switch to a previous version, sometime back, for some problems I don't recall. The one in the ..\program files...\jabaco folder is 519,284 bytes. Will try switching frameworks, and see what happens. Thanks, theuse...

Tuesday, October 15th 2013, 8:07pm

Author: jbExplorer

Using a final variable in Jabaco

That's it, that's the ticket. The author of setlx included the ant build.xml and associated files in the development distribution, fortunately. After I rebuilt, everything compiled fine. Dani and theuserbl, thanks for all the assistance. Happy camper, now.

Tuesday, October 15th 2013, 7:41pm

Author: jbExplorer

Using a final variable in Jabaco

Quoted from "Dani" Hey there, Jabaco.jar rev. 117, 2013/10/15 You are using a State.class in a .zip, not the source you provided in the Ste.zip right? Dani Yes, from the setlx.jar supplied by the developer. However, I just noticed that the State.class from the most recent library build, is earlier (07/30/2013) than the most recent State.java source (08/11/2013). Will try to obtain a more recent build, and try again, thanks Dani.

Tuesday, October 15th 2013, 7:18pm

Author: jbExplorer

Using a final variable in Jabaco

Quoted from "jbExplorer" Nope, no good. After switching to the most recent framework at http://www.jabaco.org/framework.html, 01/15/2011, there's an immediate Baseclass 'VB'Form' not found compilation error. Not sure where to go from here, maybe a reinstall of Jabaco, on all the PCs. Ok, I downloaded the jar that you referenced, in the July 23rd post, and tried to recompile. Same error as the original one, that 'org/randoom/setlx/utilities/State' not found with this parameters!' ( ..#State( env...

Tuesday, October 15th 2013, 6:49pm

Author: jbExplorer

Using a final variable in Jabaco

Nope, no good. After switching to the most recent framework at http://www.jabaco.org/framework.html, 01/15/2011, there's an immediate Baseclass 'VB'Form' not found compilation error. Not sure where to go from here, maybe a reinstall of Jabaco, on all the PCs.

Tuesday, October 15th 2013, 6:42pm

Author: jbExplorer

Using a final variable in Jabaco

Quoted from "theuserbl" 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 Still no go, on this side, even your code is reproduced letter for letter. I'm using Beta 1.5.2. Well, maybe it's related to my framework jar. I had to switch to a previous version, sometime back, for some problems I don't recall. The one in the ..\program files...\jabaco...

Tuesday, October 15th 2013, 12:10am

Author: jbExplorer

Using a final variable in Jabaco

Here are the kinds of things I tried, in Jabaco: Const envProvider As PcEnvProvider = New PcEnvProvider() Const state As org#randoom#setlx#utilities#State = New org#randoom#setlx#utilities#State(envProvider) , making the assumption that a Jabaco Const might be the same as a Java final. Also, tried Const envProvider As Variant = New PcEnvProvider() Const state As Variant = New State( envProvider ) , as well as just plain Dims. All sorts of permutations, with and without a parameter for State(). A...

Tuesday, October 15th 2013, 12:02am

Author: jbExplorer

Using a final variable in Jabaco

Hmmm. Thanks theuserbl, but it's not working for me. The actual code that I'm trying to instantiate is attached, it's part of the SetlX distribution. In the Java sample that's provided in Setlx, there is final PcEnvProvider envProvider = new PcEnvProvider(); final State state = new State(envProvider); , and these work fine. But I can't seem to do the equivalent, in Jabaco. Not getting the results that you are. Also, it's optional to use the State constructor without any parameters, and it provid...

Monday, October 14th 2013, 7:53pm

Author: jbExplorer

Using a final variable in Jabaco

Hi, If we have a constructor in Java, which takes a final variable, as in the constructor for whatthe() with the EnvVar variable below: public whatthe(final EnvironmentalVariable EnvVar) { ... ... } , how do you call the constructor from Jabaco? I've tried declaring and setting an EnvVar as private const, then using whatthe( EnvVar ), but the compiler complains. It says that 'whatthe' is not found with this parameter. In Jabaco, what's the equivalent of Java final?

Friday, September 13th 2013, 10:56pm

Author: jbExplorer

A simple Antlr 4 test project, in Jabaco

Interesting. There is, sporadically, the same problem, as with some previous posts. I.e., Jabaco sometimes reports a compilation error - Compile error. Class: .... Class not found!, and points to the init() method, in the Parser object. The workaround is to exit Jabaco, immediately go back in, and F6 to compile again. The first time you compile, it won't report any problems. But afterwards, it continues to report an error. When it DOES compile, it also runs the init() method without problems.

Thursday, September 12th 2013, 1:44am

Author: jbExplorer

A simple Antlr 4 test project, in Jabaco

Refer to The Definitive Antlr 4 Reference, by Terrence Parr Requires antlr-4.1-complete.jar, which can be downloaded from http://www.antlr.org/download/antlr-4.1-complete.jar

Wednesday, September 11th 2013, 9:07pm

Author: jbExplorer

Class not found error

Post removed by author, because of a misinterpretation of root cause.

WoltLab Burning Board