diff --git a/code/edu/rpi/phil/legup/newgui/LEGUP_Gui.java b/code/edu/rpi/phil/legup/newgui/LEGUP_Gui.java index 3ff09712..bf6019f4 100644 --- a/code/edu/rpi/phil/legup/newgui/LEGUP_Gui.java +++ b/code/edu/rpi/phil/legup/newgui/LEGUP_Gui.java @@ -206,6 +206,8 @@ public LEGUP_Gui(Legup legupMain) setVisible(true); + // http://stackoverflow.com/questions/479523/java-swing-maximize-window + setExtendedState(getExtendedState() | JFrame.MAXIMIZED_BOTH); // Centers the window setLocationRelativeTo( null );