Exit when the window close button is pressed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@167 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ChooserFrame.java,v 1.2 2001/06/07 08:37:47 mdb Exp $
|
// $Id: ChooserFrame.java,v 1.3 2001/07/12 22:31:04 mdb Exp $
|
||||||
|
|
||||||
package robodj.chooser;
|
package robodj.chooser;
|
||||||
|
|
||||||
@@ -19,6 +19,9 @@ public class ChooserFrame
|
|||||||
{
|
{
|
||||||
super("RoboDJ Chooser");
|
super("RoboDJ Chooser");
|
||||||
|
|
||||||
|
// quit if we're closed
|
||||||
|
setDefaultCloseOperation(EXIT_ON_CLOSE);
|
||||||
|
|
||||||
// we create a top-level panel to manage everything
|
// we create a top-level panel to manage everything
|
||||||
JPanel top = new JPanel();
|
JPanel top = new JPanel();
|
||||||
GroupLayout gl = new VGroupLayout(GroupLayout.STRETCH);
|
GroupLayout gl = new VGroupLayout(GroupLayout.STRETCH);
|
||||||
|
|||||||
Reference in New Issue
Block a user