dispose pack setAlwaysOnTop(boolean) java.awt.Window frame.setAlwaysOnTop(true) Four dispose() dispose setAlwaysOnTop(boolean) dispose show() method dispose() Four setOpacity pack setOpacity java.awt.Window dispose setAlwaysOnTop(boolean) Window.setIconImages(List) setAlwaysOnTop(boolean) .pack() Window Window (Java Platform SE 7 ) pack setAlwaysOnTop(boolean) pack Window#pack Window.setVisible(boolean) setAlwaysOnTop(boolean) setOpacity dispose API Window setAlwaysOnTop(boolean) frame.setAlwaysOnTop(true) setAlwaysOnTop(boolean) toFront dispose() dispose dispose() java.awt.Window java.awt.Window setLocationRelativeTo(owner) modal pack