Program Shut Down

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JoeMac3313
    New Member
    • Jul 2007
    • 16

    #1

    Program Shut Down

    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.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by JoeMac3313
    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.
    Most likely you'll have one or more frames in your application? If so have a look
    at the options you have when you press the top-right 'X' of a JFrame.

    kind regards,

    Jos

    Comment

    • JoeMac3313
      New Member
      • Jul 2007
      • 16

      #3
      I am sorry that my post was vague

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by JoeMac3313
        I am sorry that my post was vague
        No need to apologize; try again then ;-)

        kind regards,

        Jos

        Comment

        • JoeMac3313
          New Member
          • Jul 2007
          • 16

          #5
          Thanks figured it out

          Comment

          Working...