Meaningless Drivel is fun!*
The moose likes Java Micro Edition and the fly likes Puzzled by the behaviour 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 "Puzzled by the behaviour" Watch "Puzzled by the behaviour" New topic
Author

Puzzled by the behaviour

Peter Miklosko
Ranch Hand

Joined: May 26, 2009
Posts: 76
I'm little puzzle by the behaviour of my application.

After selecting filter and pressing Delete Filter command, filter get deleted. However else if(c == Alert.DISMISS_COMMAND && isDelete) block doesn't execute init() method and only way I was able thing of refreshing screen was basically forwarding screen to new instance of the same class.
As I said I'm little puzzled as I expected the refresh to happen through call of init() method in similar manner to Swing application.

Can somebody please explain me why the refresh through init() method doesn't work?
 
 
subject: Puzzled by the behaviour
 
Similar Threads
my .jar didn't run well
Why won't my BACK BUTTON work?
Getting Live Data Problem Problem
calculate the amount values stored form recordstore in J2ME midlet
Zoom In/Zoom Out Image with j2me