This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes J2ME Polish Errors - template error & not able to see the palette for J2ME Polish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME Polish Errors - template error & not able to see the palette for J2ME Polish" Watch "J2ME Polish Errors - template error & not able to see the palette for J2ME Polish" New topic
Author

J2ME Polish Errors - template error & not able to see the palette for J2ME Polish

alper isaac
Greenhorn

Joined: May 15, 2009
Posts: 2

Which template I should use? When I select blank template I receive lots of errors when I try to create a VisualMidlet file. That's why I thought I was supposed to create an accessible template.

I just created a J2ME polish application.I chose CLDC/1.1 as configuration and MIDP / 2.0 platform and Nokia 60 as devices ( because I use a Nokia emulator).When I try to choose blank template I see lots of errors.That's why I cgose accessible from template. Which template you advice me to use ? When I create a VisualMidlet file I see lots of errors. Becase of that, I thought I was suppsed to create an accessible template. Also there is no palette at J2ME applications.. I could see palette when I create J2ME Vİsual Midlet but I am not able to see any palette when I create J2ME Polish application. Thank you so much for your helps from now..


Lee Mark
Ranch Hand

Joined: Mar 05, 2009
Posts: 46
do you got the solution?
i am unable to integrate j2mepolish with nb.

emulator platform could not be found.

Lee Mark
Ranch Hand

Joined: Mar 05, 2009
Posts: 46
Go to your an existing (non polish) project folder and open the folder nbproject. There should be a file called project.properties, open this with a text editor. Scroll down and there should be two lines stating:

platform.active=Sun_Java_TM__Wireless_Toolkit_2_5_2_for_CLDC
platform.active.description=Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC

The versions may be different, as you may have a later Wireless Toolkit!

Now open the same file in your J2ME Polish project and replace the platform.active and platform.active.description lines with the ones from the non polish project.

Replace every occurance of “MPowerPlayer” with Sun_Java_TM__Wireless_Toolkit_2_5_2_for_CLDC (or what you had in your old project.)

Replace every occurance of “Emulator Platform” with Sun Java(TM) Wireless Toolkit 2.5.2 for CLDCÂ (or what you had in your old project.)

Close Netbeans and reopen and all should be fixed!

Lee Mark
Ranch Hand

Joined: Mar 05, 2009
Posts: 46
Go to your an existing (non polish) project folder and open the folder nbproject. There should be a file called project.properties, open this with a text editor. Scroll down and there should be two lines stating:

platform.active=Sun_Java_TM__Wireless_Toolkit_2_5_2_for_CLDC
platform.active.description=Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC

The versions may be different, as you may have a later Wireless Toolkit!

Now open the same file in your J2ME Polish project and replace the platform.active and platform.active.description lines with the ones from the non polish project.

Replace every occurance of “MPowerPlayer” with Sun_Java_TM__Wireless_Toolkit_2_5_2_for_CLDC (or what you had in your old project.)

Replace every occurance of “Emulator Platform” with Sun Java(TM) Wireless Toolkit 2.5.2 for CLDCÂ (or what you had in your old project.)

Close Netbeans and reopen and all should be fixed!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2ME Polish Errors - template error & not able to see the palette for J2ME Polish
 
Similar Threads
J2ME Polish
Regarding J2ME Polish & System properties
Code Fragment Inclusion
Using bitmap fonts
J2ME - My Eclipse and J2ME Polish