352353354355356357358359360361362
public void run() { myWindow.setWindowState(Window.WindowState.NORMAL); } }); maximizeButton = new Button(new MaximizeIcon(BUTTON_SIZE), new Runnable() { public void run() { myWindow.setWindowState(Window.WindowState.MAXIMIZED); } });