Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask E-Commerce Expert

Enhanced GUI Application using Additional Swing Components

OBJECTIVES

• Create a GUI that uses JCheckBox, JRadioButton, JTextArea, and menus.
• Process multiple events.

PROBLEM: BurgersRUs Point of Sale system

Burger Barn needs a point of sale application. The products and prices are as follows.

Burgers: single $3.50, double $4.75
Add cheese: + $.50
Add bacon: + $1.25
Make it a meal: + $4.00

FUNCTIONAL REQUIREMENTS

You can code the GUI by hand or use NetBeans GUI builder interface.

The GUI should useJRadioButtonto choose single or double burger.

• Single burger
• Double burger

It should use JCheckBox for add ons.

• Add cheese
• Add bacon
• Make it a meal

JTextField for item price, order quantity, order total
JTextArea to display the receipt

Create a menu with the following options.

File Order
Exit Add to Order
Clear for next item
New Order

As the user selects items, the item price should be calculated and updated accordingly.

Note that quantity should default to 1. The user can change if needed.

Once choices are made and quantity is entered, process the order using the menu options.

Order-Add to Order Displays the choice and price in each text area.

Note that multiple items can accumulate in a single order

Updates the order total

Order-Clear for next item Clears the checkboxes. Note that quantity should default to 1

Order-New Order Clears the GUI and totals for a new order

File-Exit Exits the program. Use System.exit(0) commad.

Lab 3: Developing a GUI Application using Additional Swing Components

Contrast
Text Only
Reset Page

• Lab Overview
• Scenario/Summary
• Deliverables
• Required Software
• Lab Steps

Listen

/.rsbtn
What's this?
/.rsbtn /.rsbtn /.rsbtn /.rsbtn

Lab Overview

Scenario/Summary

You will learn to add additional swing components to your GUI and process multiple events. Download the Lab instructions below for the necessary steps to be completed for this Lab. Remember to always follow the instructions to get maximum credit, and use the weekly discussion related to the Lab and the Q & A Forum for additional help.

Software Citation Requirements

This course uses open-source software, which must be cited when used for any student work. Citation requirements are on the Open Source Applications page.

Please review the installation instruction files to complete your assignment.

Deliverables

NOTE

Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions.

(See the Syllabus section "Due Dates for Assignments & Exams" for due dates.)

You must use a zipped folder to send your weekly Lab to the Dropbox. Submit a SINGLE ZIP folder to the Dropbox named CIS355A_YourLastName_Lab_Week3. It should contain

• all .java file(s) for the required program; and
• the Lab Report.

Do not include subfolders within your zipped folder. Do not rename any of your .java file(s).

Required Software

NetBeans

Access the software at https://lab.devry.edu.

Lab Steps

Submit your Lab according to the deliverable instructions above.

E-Commerce, Computer Science

  • Category:- E-Commerce
  • Reference No.:- M92045447
  • Price:- $90

Priced at Now at $90, Verified Solution

Have any Question?


Related Questions in E-Commerce

Assignment - creating dynamic websites and web-based

Assignment - CREATING DYNAMIC WEBSITES AND WEB-BASED APPLICATIONS - AN OVERVIEW This assignment is an overview of the concepts, technologies and design techniques required to build dynamic websites and web-based applicat ...

Create testcase for given project first use piki design to

Create testcase for given project, first use piki design to do test case Want to do it like testcase one file and you can also get right information from saeed testcases Want to piki design all of it and informat like te ...

Overviewassignment 2 asked you to build the front end of

Overview Assignment 2 asked you to build the front end of the assignment, now the client wants you to build the full eCommerce website to the point that orders can be made and stored in a spreadsheet. Requirements 1. Web ...

Mobile applications assignment - an ios recipe application

Mobile Applications Assignment - An iOS Recipe Application - Introduction - In this assignment, you will create a simple Recipe application for iOS using Xcode (Swift). This application allows users to view food recipes. ...

Mobile web application development assignment - android

Mobile Web Application Development Assignment - Android Apps Development Purpose of the assessment - Students are required to design and develop four different Apps. Apply Java programming concepts, models/architectures ...

Assignment requirementsyour web site proposal and

Assignment Requirements Your web site proposal and presentation (Assignment 1) was accepted, subject to any feedback you may have received. You company has been asked to develop website you suggested and build the featur ...

Secure electronic commerce assignment -part a -based on

Secure Electronic Commerce Assignment - Part A - Based on your practices in labs, develop an online e-commerce (shopping) system using html, javascript and php. You can assume any products for sales. Please create a fold ...

Html - css assignments assignment 1 - internet programming

HTML - CSS Assignments Assignment 1 - Internet Programming   My grandfather, like many men who lived in rural America, owned a large machine shed where he stored tools, farm equipment, vehicles, lumber, and wonderful gad ...

Purpose of the assessment with ulo mapping students are

Purpose of the assessment (with ULO Mapping) Students are required to design and develop four different Apps. Students will be able to: b. Apply Java programming concepts, models/architectures and patterns to Android app ...

Research and discuss html 5what are its main featureswhat

Research and discuss HTML 5. What are its main features? What resources are available to support it? Put it in your own words please.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As