• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

java swing conversion  RSS feed

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm new to j2me,so sorry for the questions

I have a Java 5 swing application that I would want to use on a Windows Mobile 6.1 device.
I have had the idea of integrate it in an applet.
I have read that the crme vm has a the swing package support,but it works only on window CE.Not good for me.
I have installed jbed jvm and I have thinked two possible scenario.
So the questions are these:

1) Are awt fully supported and can run by an applet in j2me?
2) Do I need some extra applet viewer to run applet with awt?
3) Do I need to rewrite all in a stand alone midlet with LCDUI? are there "event" item?
4) can I use midlet with awt?

thanks in advance
 
Bartender
Posts: 19816
93
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2ME does not support AWT. That's only available in the full Java.

AWT can be used in applets or stand-alone Applications. However, J2ME itself runs midlets.

So in summary, you cannot run unmodified AWT code on a J2ME sysem. You'd have to convert the GUI to use lcdui or one of the third-party extensions such as polish.



 
mickey hendrix
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!