The Source for Java Technology Collaboration

Home » java.net Forums » Mobile & Embedded » LWUIT

Thread: Pick Midlet not working in Resource Editor

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is answered.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 3 - Last Post: Jun 30, 2009 8:02 AM by: bluetrail
sandeepkumar03

Posts: 18
Pick Midlet not working in Resource Editor
Posted: Jun 29, 2009 4:15 AM
 
  Click to reply to this thread Reply

Hi All,

I am using LWUIT_20080814 build resource editor. I wanted to do the styling by selecting the Midlet. But its not working, only default LWUIT Demo is shown.

I am using Windows XP Professional, JDK 1.6

Anybody has faced similar issue?

Thanks,
Sandeep

fbenitez

Posts: 3
Re: Pick Midlet not working in Resource Editor
Posted: Jun 29, 2009 5:07 AM   in response to: sandeepkumar03
 
  Click to reply to this thread Reply

Does your midlet compiles fine? If it has compilation errors, the default LWUIT Demo is shown.

sandeepkumar03

Posts: 18
Re: Pick Midlet not working in Resource Editor
Posted: Jun 29, 2009 10:45 PM   in response to: fbenitez
 
  Click to reply to this thread Reply

Hi,

Yeah my midlet runs fine if i run it from IDE without any errors. I am able to see the theme properly getting applied there.

But while editing in resource editor its not getting displayed. I am not sure if its OS problem or something else.

Thanks,
Sandeep

bluetrail

Posts: 10
Re: Pick Midlet not working in Resource Editor
Posted: Jun 30, 2009 8:02 AM   in response to: sandeepkumar03
Correct
  Click to reply to this thread Reply

Hi

Had similar problems and managed to diagnose it by running the resource editor from the command line.

In my case the midlet was trying to access mmapi apis which the resource editor does not support.

I think the syntax is

java -jar resourceeditor.jar

Check the lwuit manual if I am wrong

Cheers

Richard




 XML java.net RSS