Swing package

Forum for J2ME mobile games related topics including programming doubts, books and other resources for J2ME game development

Swing package

Postby Namz » Wed Mar 14, 2007 5:54 pm

hi!
can we import javax.swing in j2me code?
do swing packages consume a lot of memory if used?
if so, what can be used as an alternative? :o
Namz
 
Posts: 9
Joined: Tue Mar 13, 2007 3:43 am

Postby DevelopmentTeam » Thu Mar 15, 2007 4:28 am

In J2ME there are 3 different Profiles which are based on CDC.
Foundation Profile (FP),
Personal Base Profile (PBP)
and Personal Profile (PP).

Only PP contains enhanced Java GUI elements. But it ONLY contains AWT. SWING is NOT supported and is not part of the PP specification..

Some JVMs like Creme from NSI (http://www.nsicom.com/) support Swing as opptional non-specification package. But you must buy the Creme JVM. The IBM VM J9 supports a reduced version of SWT (a GUI Framework), but not SWING. So generally it is very difficult to use SWING on a PocketPC
User avatar
DevelopmentTeam
Site Admin
 
Posts: 661
Joined: Tue Aug 15, 2006 8:39 am
Location: India


Return to J2ME Games

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron