• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to stop execution after some condition is true?  RSS feed

 
Happy S Singh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am checking the below condion and diplaying dialog box



I want when the dialog box is displayed and condition is true .further execution should stop there itself.How to do this?
 
Sumit Patil
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this
 
Manoj Kumar Jain
Ranch Hand
Posts: 198
Java Linux Oracle
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can return the control from here.
just put a return statement.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!