jbutton tutup jframe java

private void btnButtonActionPerformed(java.awt.event.ActionEvent evt) {                                               
	this.dispose();
}
Codin' Joss