Question: Using java netbeans JFrame , please help make the following sign up button works. The current login username is java and the password is 1234.

Using java netbeans JFrame, please help make the following sign up button works. The current login username is "java" and the password is 1234.

Please explain and show the code so when i press confirm button in the singup form GUI, the new login form will comes out with an updated username and password.

Using java netbeans JFrame, please help make the following sign up buttonworks. The current login username is "java" and the password is 1234.Please explain and show the code so when i press confirm buttonin the singup form GUI, the new login form will comes outwith an updated username and password. Split Pane Tool Bar -Internal Frame

Split Pane Tool Bar -Internal Frame Scroll Pane Desktop Pane Layered Pane New user name Password Swing Controls label Label OK Button ON Toggle Button a-Check Box Password Confirm - Radio Button Button Group Text Area Login Form New user name Password Username Password Password Confirm Login Sign up private void jButtonlActionPerformed (java. awt.event.ActionEvent evt) /TODO add your handling code here: button private void jButton2ActionPerformed (java.awt.event.ActionEvent evt) TODO add your handling code here: Register rf -new Register (); rf.setVisible(true) rf.setLocationRelativeTo (null); private void jButtonlActionPerformed (java.awt.event.ActionEvent evt) ITODO add your handling code here: String userData"java"; String passData "1234"; String userjTextField1.getText); String pass = new String (jPasswordField1.getPassword ()); if (user.trim).toUpperCase).equals("JAVA")) user = user.toLowerCase().trim ( ); if (user.equals (userData) && pass.equals (passData))f System.out.println("Welcome " userData) else t J0ptionPane.showMessageDialog(null, "Wrong username/password", "Error",JOptionPane.ERROR_MESSAGE) Split Pane Tool Bar -Internal Frame Scroll Pane Desktop Pane Layered Pane New user name Password Swing Controls label Label OK Button ON Toggle Button a-Check Box Password Confirm - Radio Button Button Group Text Area Login Form New user name Password Username Password Password Confirm Login Sign up private void jButtonlActionPerformed (java. awt.event.ActionEvent evt) /TODO add your handling code here: button private void jButton2ActionPerformed (java.awt.event.ActionEvent evt) TODO add your handling code here: Register rf -new Register (); rf.setVisible(true) rf.setLocationRelativeTo (null); private void jButtonlActionPerformed (java.awt.event.ActionEvent evt) ITODO add your handling code here: String userData"java"; String passData "1234"; String userjTextField1.getText); String pass = new String (jPasswordField1.getPassword ()); if (user.trim).toUpperCase).equals("JAVA")) user = user.toLowerCase().trim ( ); if (user.equals (userData) && pass.equals (passData))f System.out.println("Welcome " userData) else t J0ptionPane.showMessageDialog(null, "Wrong username/password", "Error",JOptionPane.ERROR_MESSAGE)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!