Example now I have a main frame contains jtable display all the customer information, and there was a create button to open up a new JFrame that allow user to create new cus
You can use:
private void btn_NewFormActionPerformed(java.awt.event.ActionEvent evt) { this.hide(); new Frm_NewFormUI().setVisible(true); }