Pack window after creation.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 19 Jan 2009 22:41:01 +0000 (23:41 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 19 Jan 2009 22:41:01 +0000 (23:41 +0100)
src/net/pterodactylus/jkeytool/gui/MainFrame.java

index 5ec475e..cfbccee 100644 (file)
@@ -74,6 +74,7 @@ public class MainFrame implements CoreListener, WindowListener {
                constructActions();
                mainFrame.setJMenuBar(constructMenuBar());
                mainFrame.addWindowListener(this);
+               mainFrame.pack();
        }
 
        //