How do I make a quit button in a program?

edited October 2013 in How To...

I've made a program that I want to make an in program 'quit' button. How would I do this?

Thanks

Answers

  • Answer ✓

    I guess in the same way you do the other buttons? X_X
    Just use exit() to abort the program!

  • Moved to the How To category...

    And indeed, the (old) forums are full of button examples, and there are some even in the Examples shipped with Processing.

Sign In or Register to comment.