To: Mark Jacobson Subject: Tired of switching back to DOS window... Mark,   I don't know if the rest of the class is ready, but...    After spending way too much time, I finally figured out how to use the X button in the java frame.  New method in HoopWorld.java   public class WindowCloseButtonListener extends WindowAdapter {    public void windowClosing( WindowEvent e )    {       System.exit( 0 );    } }   and a new instance of the WindowCloseButtonListener in the public HoopWorld() constructor:   addWindowListener( new WindowCloseButtonListener() );   Just my two cents for today...   Bilbo Bilbo B. Baggins. Bildo@MiddleEarth.net