aspose file tools*
The moose likes Java Micro Edition and the fly likes Help  regarding Traversing the menuscreen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Help  regarding Traversing the menuscreen" Watch "Help  regarding Traversing the menuscreen" New topic
Author

Help regarding Traversing the menuscreen

Santhana Lakshmi.S
Ranch Hand

Joined: Aug 16, 2005
Posts: 82
hi
i did one application in J2ME.In my application i'm having 2 to 3 menu screen.
while traversing thru tht menu screen one white screen is coming before gng frm one menuscreen to another menuscreen
can anyone tell me how to overcome this situation
thanx a lot
Ramender Mall
Ranch Hand

Joined: Sep 08, 2005
Posts: 311
Hi Santhana,

Are you creating any image on your menuscreen??.....If u r doing this then make sure u have got ur image created in the loading of the application and not each and every time u change menuscreens...

gud day,
Ramy..
Santhana Lakshmi.S
Ranch Hand

Joined: Aug 16, 2005
Posts: 82
hi,
thanx for ur reply.i already created the images tht i used in the menu screen in the main midlet class itself.
and also im getting that white screen when im traversing frm menu screen to menuscreen and also frm menu screen to canvas screen to display the images and vice versa.
can u help me to get rid of this if u ve any suggestion or solution
thanx a lot
Ramender Mall
Ranch Hand

Joined: Sep 08, 2005
Posts: 311
Hi Santhana..

See, if you are trying it on an emulator, it could be the image creation (or in general, any file creation) issue..Put println's at all the createImage etc. and check if they are not being called again and again...

Or if you are trying it on a handset, then do the same thing for System.gc()'s.. (if you are using them, of course)....

Thats what I could think of...

Best of Luck
Ramy..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help regarding Traversing the menuscreen