GUI Programming with Swing
Introduction to GUI Programming in Java
Assignment
Compare Console Apps and GUI Apps
Assignment
Compare Console Apps and GUI Apps
Write short notes explaining the difference between console-based and GUI-based Java applications. Mention at least three advantages of GUI applications and identify common Swing use cases.
Using Swing Components
Assignment
Build a Basic Swing Form
Assignment
Build a Basic Swing Form
Create a Swing form using JFrame with JLabel, JTextField, JPasswordField, JButton, and JCheckBox. Add labels and basic layout so the form is readable and user-friendly.
Event-Driven Programming, Event Handling, and Building Simple Interactive Applications
Assignment 1
Event Handling with ActionListener
Assignment 1
Event Handling with ActionListener
Create a Swing app with at least two buttons (for example Submit and Clear). Use ActionListener to handle click events and show feedback using JLabel or JOptionPane.
Assignment 2
Mini Swing Application
Assignment 2
Mini Swing Application
Develop a small interactive Swing application such as a calculator, login form, or student info form. Include input validation and at least one event-driven action.