Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

How might Erica's odd symptoms affect her life in the future?

Answered: 1 week ago

Question

What is quality of work life ?

Answered: 1 week ago

Question

What is meant by Career Planning and development ?

Answered: 1 week ago

Question

What are Fringe Benefits ? List out some.

Answered: 1 week ago

Question

What resources will these tactics require?

Answered: 1 week ago

Question

What level of impact will this tactic make on the key public?

Answered: 1 week ago

Question

Have you used powerful language in your message?

Answered: 1 week ago