You are not logged in.

tunleader

Beginner

  • "tunleader" is 32 years old today
  • "tunleader" is male
  • "tunleader" started this thread

Posts: 5

Date of registration: Mar 21st 2011

Location: Tunisia

Occupation: Developper

  • Send private message

1

Wednesday, March 23rd 2011, 1:26pm

Java Package

Hi,
could someone help me how to use a specific java package on a Jabaco project .
I hope there will be an option to do this because that will be great an surely it will interesting for java programmer and it will make Jabaco a good environment to use Java new Package(or Library).
PLZ Help
thx in advance
:)

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Wednesday, March 23rd 2011, 2:19pm

To use a Java package in Jabaco, you have to make the package available in your current Jabaco project.
To do that you add the jar file(s) of the package to your project classpath. Press key F1 in the Jabaco IDE
and add the jar files.

Within your Jabaco source code you can specify the Java classes using # as separator.
Example: java#awt#image#BufferedImage

You can use "import" statements to tell Jabaco, which classes you are referring to.

Please use the search facility of this forum to find Java samples. Look for "import", "jar", "classpath" and "java".

Greetings

A1880

Rate this thread
WoltLab Burning Board