java going to other frame code example
Example: jbutton open jframe java
private void btnButtonActionPerformed(java.awt.event.ActionEvent evt) {
jFrame.setVisible(true);
}
private void btnButtonActionPerformed(java.awt.event.ActionEvent evt) {
jFrame.setVisible(true);
}