IT 233 Northern Virginia Community College Java Application Project
Page 1 of 3IT-230 Final Project Part 1 – GUI Proposal (100 Points – 15% of Your Grade)
Due Date: Tuesday, March 3rd, 2022 before 11:59 PM
Tasks: Research, design and build a complete Java Graphical Interface for a simple Java Application of your choice
for collecting and processing its data.
Requirements: You must develop your GUI by writing your own Java code using Dr. Java without using other
automated development tools.
1.
2.
3.
4.
Your GUI must include the following components:
a. JLabel
b. JTextField
c. JCombobox
d. JRadioButton
e. JCheckBox
f. JTextArea
g. ImageIcon
h. JButton
i. JPanel
j. JFrame
The total number of all components (a-g) combined must be 30 components or more.
Restrictions
a. JPanel, JFrame, and ButtonGroup are NOT qualified as one of the 30 components.
b. At least 20 components must allow user inputs (b-f). For example, JLabel does NOT allow users
to input anything; therefore, it cannot collect data and is NOT qualified as one of the 20
components.
Your GUI must be user-friendly.
Implement Action Listener to collect information and display it using JOptionPane for confirmation of the
process.
Sample 1: You are NOT allowed to build this sample GUI as your proposal.
Sample proposal for a Java Graphical User Interface (GUI) for a simple Car Reservation System
Page 2 of 3
JComboBox data:
1. Pick-up and Drop-off time is between 7 am – 7 pm when it is dropped.
2. Car type displays the choices of Economy, Compact, Mid-Size, Standard, Full-Size, Premium, Luxury, Convertible,
Minivan, and SUV when it is dropped.
Sample 2: You are NOT allowed to create this sample GUI as your proposal.
Sample proposal for a Java Graphical User Interface (GUI) for a simple Hotel Reservation System
Page 3 of 3
JComboBox data:
1.
No. of rooms should display the choices of 1, 2, 3, 4-9, 10-25 and 26+ when it is dropped.
2.
Guests/Room should display the choices of 1-6 when it is dropped.
Page 1 of 3
IT-230 Final Project Part 1 – GUI Proposal (100 Points – 15% of Your Grade)
Due Date: Tuesday, March 3rd, 2022 before 11:59 PM
Tasks: Research, design and build a complete Java Graphical Interface for a simple Java Application of your choice
for collecting and processing its data.
Requirements: You must develop your GUI by writing your own Java code using Dr. Java without using other
automated development tools.
1.
2.
3.
4.
Your GUI must include the following components:
a. JLabel
b. JTextField
c. JCombobox
d. JRadioButton
e. JCheckBox
f. JTextArea
g. ImageIcon
h. JButton
i. JPanel
j. JFrame
The total number of all components (a-g) combined must be 30 components or more.
Restrictions
a. JPanel, JFrame, and ButtonGroup are NOT qualified as one of the 30 components.
b. At least 20 components must allow user inputs (b-f). For example, JLabel does NOT allow users
to input anything; therefore, it cannot collect data and is NOT qualified as one of the 20
components.
Your GUI must be user-friendly.
Implement Action Listener to collect information and display it using JOptionPane for confirmation of the
process.
Sample 1: You are NOT allowed to build this sample GUI as your proposal.
Sample proposal for a Java Graphical User Interface (GUI) for a simple Car Reservation System
Page 2 of 3
JComboBox data:
1. Pick-up and Drop-off time is between 7 am – 7 pm when it is dropped.
2. Car type displays the choices of Economy, Compact, Mid-Size, Standard, Full-Size, Premium, Luxury, Convertible,
Minivan, and SUV when it is dropped.
Sample 2: You are NOT allowed to create this sample GUI as your proposal.
Sample proposal for a Java Graphical User Interface (GUI) for a simple Hotel Reservation System
Page 3 of 3
JComboBox data:
1.
No. of rooms should display the choices of 1, 2, 3, 4-9, 10-25 and 26+ when it is dropped.
2.
Guests/Room should display the choices of 1-6 when it is dropped.
import javax.swing. JFrame;
import javax.swing. JLabel;
import java.awt.BorderLayout;
import javax.swing. JTextField;
import javax.swing.JPanel;
import javax.swing.JCheckBox;
import java.awt.GridLayout;
import javax.swing. JButton;
import java.awt.Color;
import javax.swing.JRadioButton;
import javax.swing. ButtonGroup;
import javax.swing.JComboBox; // dropbox
import javax.swing.JTextArea;
import java.awt.event.ActionListener;
import java.awt.event. ActionEvent;
import javax.swing.JOptionPane; // pop-up box
public class GUIExample extends JFrame implements ActionListener {
private JLabel fullnameLabel, hobbyLabel, commentLabel;
private JTextField fullnameTextField;
private JPanel northPanel, westPanel, westPanel2, southPanel;
private JPanel centerPanel, eastPanel;
private JCheckBox musicCheckbox, movieCheckbox;
private JButton submitButton, cancelBut
private JRadioButton maleOption, femaleOption;
private ButtonGroup genderGroup;
private ComboBox stateBox;
private JTextArea commentBox;
public GUIExample() { // constructor
fullnameLabel = new JLabel(“Enter Full Name: “);
fullnameLabel.setForeground(Color.white);
fullnameTextField = new JTextField(5);
northPanel = new JPanel();
northPanel.setBackground(new Color(19124, 143));
=
public GUIExample() { // constructor
fullnameLabel = new JLabel(“Enter Full Name: “);
fullnameLabel. setForeground(Color.white);
fullnameTextField = new JTextField(5);
northPanel = new JPanel();
northPanel.setBackground(new Color(19, 124, 143));
northPanel.add(fullnameLabel);
northPanel.add(fullnameTextField);
add(northPanel, BorderLayout. NORTH);
hobbyLabel = new JLabel(“Select Hobby: “);
hobbyLabel.setToolTipText(“select all that applies”);
musicCheckbox = new JCheckBox(“Music”);
movieCheckbox = new JCheckBox(“Movie”);
String statelist [] = {“DC”, “MD”, “VA”};
stateBox = new J ComboBox(statelist);
westPanel = new JPanel();
westPanel.setLayout(new GridLayout(4, 1));
westPanel.add(hobbyLabel);
westPanel.add(musicCheckbox);
westPanel.add(movieCheckbox);
westPanel.add(stateBox);
westPanel2 new JPanel();
westPanel2.add(westPanel);
add(westPanel2, BorderLayout.WEST);
=
submitButton = new JButton(“Submit”);
submitButton.addActionListener(this);
cancelButton = new JButton(“Cancel”);
cancelButton.addActionListener(this);
cancelButton. setForeground (Color.red);
southPanel = new JPanel();
southPanel.setBackground(Color.green):
Top-quality papers guaranteed
100% original papers
We sell only unique pieces of writing completed according to your demands.
Confidential service
We use security encryption to keep your personal data protected.
Money-back guarantee
We can give your money back if something goes wrong with your order.
Enjoy the free features we offer to everyone
-
Title page
Get a free title page formatted according to the specifics of your particular style.
-
Custom formatting
Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.
-
Bibliography page
Don’t pay extra for a list of references that perfectly fits your academic needs.
-
24/7 support assistance
Ask us a question anytime you need to—we don’t charge extra for supporting you!
Calculate how much your essay costs
What we are popular for
- English 101
- History
- Business Studies
- Management
- Literature
- Composition
- Psychology
- Philosophy
- Marketing
- Economics