This is probably a very simple question, but I cannot seem to find the anser anywhere. I am unable to do this in a few places in my program, but the most basic is this. I have an applet, a window with a stock ticker, a scroll bar, and some buttons. One of the buttons is "exit". All I want this button to do is close the window, basically do the same thing as the "X" button does in all windows programs. How can I do this?
documents and settings\rob\java files\sampledir\Ticker.java uses or overrides a deprecated API.