Botão de saída Java Swing

JButton close = new JButton("Close");
Handsome Hummingbird