I created 2 form, login and register, and i have got buttons on 2 of the form. On the login form, there is a button with ButtonMouseClicked(evt) that will open the register form.
The code i use to open the register form is new Register().setVisible(true);. Then i added new Login().setVisible(false); to try to close the login form but it cant work.
Can anyone help me with this?