Lay ourselves out to our preferred size rather than a hardcoded size.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@258 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Driver.java,v 1.9 2001/08/13 23:43:20 mdb Exp $
|
// $Id: Driver.java,v 1.10 2001/08/13 23:58:56 mdb Exp $
|
||||||
//
|
//
|
||||||
// viztool - a tool for visualizing collections of java classes
|
// viztool - a tool for visualizing collections of java classes
|
||||||
// Copyright (C) 2001 Michael Bayne
|
// Copyright (C) 2001 Michael Bayne
|
||||||
@@ -101,7 +101,7 @@ public class Driver
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
VizFrame frame = new VizFrame(viz);
|
VizFrame frame = new VizFrame(viz);
|
||||||
frame.setSize(640, 480);
|
frame.pack();
|
||||||
SwingUtil.centerWindow(frame);
|
SwingUtil.centerWindow(frame);
|
||||||
frame.setVisible(true);
|
frame.setVisible(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user