A retaliner would like a calculator to indicate sale prices when he marks items down at various percentages.

Design, implement, test, and debug a GUI application that allows the retailer to enter the item's name, the item's original price, and the percentage discounted.

  • The application should include a Calculate button that, when pressed, computes and displays the sale price in a label or text field.
  • The program should allow the retailer to enter any number of items in this manner.
  • Include an Exit button to end the execution of the application.
  • The program should allow the user to select a department from a menu. ou may create the menu as a true menu, a JComboBox, or radio buttons.
  • Create your own list to populate the menu: men's clothing, women's clothing, house wares, and so forth.
  • Include at least five departments.
  • Create a JTextArea or a JTable to display each of the following for each item entered:
    • Item name
    • Department
    • Original Price
    • Sale Price
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.