Java Tcl Shell (2)
Make the Tcl shell window close-able
shellFrame.addWindowListener( new WindowAdapter() { public void windowClosing (WindowEvent e) { shellFrame.dispose(); } });
- This is an anonymous inner class
- WindowAdapter implements WindowListener