This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Puzzled by the behaviour

 
Peter Miklosko
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic