jbutton open jframe java

Java
private void btnButtonActionPerformed(java.awt.event.ActionEvent evt) {                                        
	jFrame.setVisible(true);
}    
Source

Also in Java: