This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
im currently working on a school assignment that simulates the functioning of a simple calculator.As part of the assignment im supposed to provide a command button to exit from the applet. i went through msdn and i couldnt find a single thing that would resembe what im trying to do. is it possible? if so how?
Is this actually an applet running in a web browser, or the applet viewer program? (Do you extend the Applet class?) If so, I'm not certain how to do what you want. However, if you just have your terminology confused and this is a full-blown application, which extends Form or JForm instead of Applet, then you can simply use System.exit() to close the application. HTH Layne