File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Puzzled by the behaviour" Watch "Puzzled by the behaviour" New topic

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:
subject: Puzzled by the behaviour
It's not a secret anymore!