Code:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
next2 nx = new next2();
next me = new next();
me.setVisible(false);
nx.setVisible(true);
}
but when i run the code and press jButton1, the "next" frame doesn't disappear
Comment