Here I am providing the downloadable code link of the java code I have used in the video
"JJava prog#15.How To Open New Jframe From A jButton in Netbeans java" of my YouTube channel ProgrammingKnowledge
Click Link to watch the video LINK
This code below is for the NewbuttonActionPerformed method action perform
private void NewbuttonActionPerformed(java.awt.event.ActionEvent evt) {
close();
Userino_frame s = new Userino_frame();
s.setVisible(true);
}