IT 233 Northern Virginia Community College Java Application Project

Description

4 attachmentsSlide 1 of 4attachment_1attachment_1attachment_2attachment_2attachment_3attachment_3attachment_4attachment_4

Unformatted Attachment Preview

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.
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):

Purchase answer to see full
attachment

Explanation & Answer:
Java Application Project

Tags:
programming

Python

Java application

User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.

Looking for this assignment?

do my essay homework

Reviews, comments, and love from our customers and community

Article Writing

Great service so far. Keep doing what you do, I am really impressed by the work done.

Alexender

Researcher

PowerPoint Presentation

I am speechless…WoW! Thank you so much! Definitely, the writer is talented person. She provided me with an essay a day early before the due date!

Stacy V.

Part-time student

Dissertation & Thesis

This was a very well-written paper. Great work fast. I was in pretty desperate need for help to finish this paper before the due date, which was in nine hours.

M.H.H. Tony

Student

Annotated Bibliography

I love working with this company. You always go above and beyond and exceed my expectations every time. Kate did a WONDERFUL job. I would highly recommend her.

Francisca N.

Student

Book Report / Review

I received my order wayyyyyyy sooner than I expected. Couldn’t ask for more. Very good at communicating & fast at replying. And change & corrections she put in the effort to go back and change it!

Mary J.

Student

Essay (Any Type)

On time, perfect paper. All concerns & matters I had Tom was able to answer them! I will definitely provide him with more orders!

Prof. Kate (Ph.D)

Student

Case Study

Awesome! Great papers, and early! Thank you so much once again! Definitely recommend to trust James with your assignments! He won’t disappoint!

Kaylin Green

Student

Proofreading & Editing

Thank you Dr. Rebecca for editing my essays! She completed my task literally in 3 hours. For sure will work with her again, she is great and follows all instructions

Rebecca L.

Researcher

Critical Thinking / Review

Extremely thorough summary, understanding and examples found for social science readings, with edits made as needed and on time. It’s like having a tutoring service available (:

Arnold W.

Customer

Coursework

Perfect!I only paid about $80, which i think was a good price considering what my paper entailed. My paper was done early and it was well written!

Joshua W.

Student

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>