Ajp Micro
Ajp Micro
1
Technologies Used: The Apache NetBeans Platform is a generic framework for Swing
applications. It provides the "plumbing" that, before, every developer had to write
themselves—saving state, connecting actions to menu items, toolbar items and keyboard
shortcuts; window management.
User Interface Design
Clean Layout: Simple and intuitive design for easy navigation.
Responsive Design: Works well on desktops, tablets, and smartphones.
Input Fields.
Amount Input: A text field for users to enter the value they want to convert.
INTRODUCTION
The Register and Display list of Students web application provides users with a
simple and intuitive interfere for Register and Display
Use for register with name and age of students and display in sequence in order of
10 elements on one page This tool is designed
OBJECTIVES
User-Friendly Interface : Develop a clean and responsive layout that enhances user
experience across
devices.
Error Handling: Provide clear error messages for invalid inputs and unsupported
datatypes.
2
SOURCE CODE
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
public NewClass() {
setTitle("Student Registration");
setLayout(new FlowLayout());
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setSize(400, 300);
registerButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
registerStudent();
displayStudents();
}
});
3
nextButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
if ((currentPage + 1) * PAGE_SIZE < students.size()) {
currentPage++;
displayStudents();
}
}
});
prevButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
if (currentPage > 0) {
currentPage--;
displayStudents();
}
}
});
add(new JLabel("Name:"));
add(nameField);
add(new JLabel("Age:"));
add(ageField);
add(registerButton);
add(prevButton);
add(nextButton);
add(new JScrollPane(displayArea));
setVisible(true);
}
@Override
public String toString() {
return "Name: " + name + ", Age: " + age;
}
}
5
OUTPUT
6
REFERENCES
https://www.ilovepdf.com/pdf_to_word
https://www.javatpoint.com/example-of-
registration-form-in-servlet
https://www.geeksforgeeks.org/java-swing-
simple-user-registration-form/