IF YOU HAVE ANY QUERY COMMENT DOWN BELOW THUMBS UP
SS:

CODE:
public class REGISTER extends javax.swing.JFrame {
public REGISTER() {
initComponents();
}
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated
Code">
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jTextField1 = new javax.swing.JTextField();
jTextField2 = new javax.swing.JTextField();
jTextField3 = new javax.swing.JTextField();
jTextField4 = new javax.swing.JTextField();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setMinimumSize(new java.awt.Dimension(500, 450));
getContentPane().setLayout(null);
jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12)); //
NOI18N
jLabel1.setText("Temporary Password :");
getContentPane().add(jLabel1);
jLabel1.setBounds(40, 260, 180, 30);
jLabel2.setFont(new java.awt.Font("Tahoma", 1, 12)); //
NOI18N
jLabel2.setText("First Name :");
getContentPane().add(jLabel2);
jLabel2.setBounds(100, 120, 80, 20);
jLabel3.setFont(new java.awt.Font("Tahoma", 1, 12)); //
NOI18N
jLabel3.setText("Last Name :");
getContentPane().add(jLabel3);
jLabel3.setBounds(100, 170, 80, 20);
jLabel4.setFont(new java.awt.Font("Tahoma", 1, 12)); //
NOI18N
jLabel4.setText("Birth Year :");
getContentPane().add(jLabel4);
jLabel4.setBounds(100, 220, 90, 20);
jButton1.setText("Exit");
jButton1.addActionListener(new java.awt.event.ActionListener()
{
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
getContentPane().add(jButton1);
jButton1.setBounds(320, 340, 90, 30);
jButton2.setText("Register");
jButton2.addActionListener(new java.awt.event.ActionListener()
{
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
getContentPane().add(jButton2);
jButton2.setBounds(210, 340, 90, 30);
jTextField1.setEditable(false);
getContentPane().add(jTextField1);
jTextField1.setBounds(190, 270, 220, 30);
getContentPane().add(jTextField2);
jTextField2.setBounds(190, 120, 220, 30);
getContentPane().add(jTextField3);
jTextField3.setBounds(190, 170, 220, 30);
jTextField4.addActionListener(new
java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField4ActionPerformed(evt);
}
});
jTextField4.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyReleased(java.awt.event.KeyEvent evt) {
jTextField4KeyReleased(evt);
}
});
getContentPane().add(jTextField4);
jTextField4.setBounds(190, 220, 220, 30);
jLabel5.setFont(new java.awt.Font("Tahoma", 3, 18)); //
NOI18N
jLabel5.setText("Registerstion Form");
getContentPane().add(jLabel5);
jLabel5.setBounds(60, 20, 180, 60);
getContentPane().add(jLabel6);
jLabel6.setBounds(70, 310, 440, 30);
pack();
}// </editor-fold>
private void jButton1ActionPerformed(java.awt.event.ActionEvent
evt) {
this.setVisible(false);
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent
evt) {
if((jTextField4.getText().hashCode() !=
0)&&((jTextField2.getText().hashCode() != 0))
&&((jTextField3.getText().hashCode() != 0))){
jLabel6.setText("Wellcome !!");
}
else{
jLabel6.setText("There is an ERROR plz Enter Some Value in
Field");
}
}
private void jTextField4KeyReleased(java.awt.event.KeyEvent evt)
{
jTextField1.setText(jTextField2.getText()+"*"+jTextField4.getText());
}
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new REGISTER().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
// End of variables declaration
}
In Java please Create a GUI application that accepts student registration data. The GUI with valid...
Need help debugging Create a GUI application that accepts student registration data. Specifications: The text box that displays the temporary password should be read-only. The temporary password consists of the user’s first name, an asterisk (*), and the user’s birth year. If the user enters data in the first three fields, display a temporary password in the appropriate text field and a welcome message in the label below the text fields. If the user does not enter data, clear the...
Create a program that allows a student to complete a registration form and displays a completion message that includes the user’s full name and a temporary password. Console Registration Form First name: Bjarne Last name: Stroustrup Birth year: 1950 Welcome Bjarne! Your registration is complete. Name: Bjarne Stroustrup Temporary password: Bjarne*1950 Specifications • The user’s full name consists of the user’s first name, a space, and the user’s last name. • The temporary password consists of the user’s first name,...
In Java.
Write a GUI contact list application. The program should allow you to input names and phone numbers. You should also be able to input a name and have it display the previously entered phone number. The GUI should look something like the following, although you are welcome to format it in any way that works. This should be a GUI application with a JFrame. The program should contain two arrays of Strings. One array will contain a list...
In Java please, thank you!
Design a GUI application as shown below and perform the following tasks: The text field is for data file name, the file extension must be.txt, otherwise, prompt user to provide a valid file name. Load the content of the data file and display on the textarea. 1. 2. Loading Files File Name: data.tt Load File
For this question you will need to complete the methods to create a JavaFX GUI application that implements two String analysis algorithms. Each algorithm is activated when its associated button is pressed. They both take their input from the text typed by the user in a TextField and they both display their output via a Text component at the bottom of the GUI, which is initialized to “Choose a string methods as indicated in the partially completed class shown after...
I. User Interface Create a JavaFX application with a graphical user interface (GUI) based on the attached “GUI Mock-Up”. Write code to display each of the following screens in the GUI: A. A main screen, showing the following controls: • buttons for “Add”, “Modify”, “Delete”, “Search” for parts and products, and “Exit” • lists for parts and products • text boxes for searching for parts and products • title labels for parts, products, and the application title B. An add...
I tried to complete a Java application that must include at a minimum: Three classes minimum At least one class must use inheritance At least one class must be abstract JavaFX front end – as you will see, JavaFX will allow you to create a GUI user interface. The User Interface must respond to events. If your application requires a data backend, you can choose to use a database or to use text files. Error handling - The application should...
In JAVA please! Write program for exercises You will write a Graphical User Interface(GUI) application to manage student information system. The application should allow: 1. Collect student information and store it in a binary data file. Each student is identified by an unique ID. The user should be able to view/edit an existing student. Do not allow student to edit ID. 2. Collect Course information and store it in a separate data file. Each course is identified by an unique...
Question 2: Your task is to create a GUI application that allows a user to create a group of Hero objects s (think Lord of the Your group may be a small band of two or three Heroes or it may consist of Rines or the Marvel Cinenatic Universe here) You have been given the compiled version of the dlass encapsulating a Hero and you have also been given the specification. Your job is to create a GUI application that...
Question 1 (Marks: 50 Develop a Java GUI application that will produce an investment report based on various criteria, such as investment amount, investment type and term. On the form create two text fields, one to capture the customer name and (10) Q.1.1 another to capture the amount to invest. Also create a combo box for the user to select the investment type which will be moderate or aggressive. Finally add three radio buttons for the user to select the...
> I want this application using SWING
Subinita Dey Sun, Nov 28, 2021 7:52 PM