This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Puzzled by the behaviour