Forum Stats

  • 3,817,474 Users
  • 2,259,340 Discussions
  • 7,893,791 Comments

Discussions

Java stop further processing

Azamshareef
Azamshareef Member Posts: 106 Blue Ribbon
edited Aug 17, 2017 3:36AM in Swing

Dear All,

I am new to Java, please do let me know how to stop further processing ?

If user enter a value <0 in JTextField, i want to show JOptionPane.message until user enter value>0. And this has to be done without exiting(System.exit(0)) the program. Please do comments with some sample code.

***Moderator action (Timo): moved from   to ***

Answers

This discussion has been closed.