I am trying to set an exit method where the program terminates. I have researched the System.exit(0); and it seems that this is not the preferred method in java. I am writing on a windows based platform.
Program Shut Down
Collapse
X
-
Tags: None
-
Most likely you'll have one or more frames in your application? If so have a lookOriginally posted by JoeMac3313I am trying to set an exit method where the program terminates. I have researched the System.exit(0); and it seems that this is not the preferred method in java. I am writing on a windows based platform.
at the options you have when you press the top-right 'X' of a JFrame.
kind regards,
Jos -
-
Comment