Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Very limited java access within Netbeans (http://www.chiefdelphi.com/forums/showthread.php?t=122941)

michaelwm 09-12-2013 18:03

Very limited java access within Netbeans
 
Our team has been attempting to import various base java files to integrate with our program, such as ArrayLists, Lists, and Swing frames. However, they are unable to be imported. We were hoping we could find help here.

connor.worley 09-12-2013 18:07

Re: Very limited java access within Netbeans
 
These classes aren't available in J2ME. Some interesting discussion on working around this limitation here.

michaelwm 09-12-2013 18:15

Re: Very limited java access within Netbeans
 
Thanks for the fast response! I'm looking into the workarounds but it seems we might just have to get used to default arrays and hashtables.

Domenic Rodriguez 09-12-2013 18:23

Re: Very limited java access within Netbeans
 
Note that you can use the Vector class in place of ArrayList. If you want to see the full list of available classes, check out the Javadocs included with the installation. They are available in the 'sunspotfrcsdk' directory located in your home folder; more details can be found here: http://wpilib.screenstepslive.com/s/...g-the-javadocs.

Joe Ross 09-12-2013 18:33

Re: Very limited java access within Netbeans
 
There are a few classes not required by Java ME, but that are implemented by the squawk JVM. You can find them in com.sun.squawk.util.

What did you want to use swing frames for?

The 2015 control system will use Java SE Embedded, so it won't have these restrictions (although I didn't check if it supports swing).

joelg236 10-12-2013 00:15

Re: Very limited java access within Netbeans
 
Shameless self-plug :) https://github.com/Team4334/atalibj


All times are GMT -5. The time now is 22:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi