Resource: Ch. 14 of Java: How to Program

adelen
 (Not rated)
 (Not rated)
Chat

Resource: Ch. 14 of Java: How to Program

 

Modify the Inventory Program (Part 4) by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. If the first item is displayed and the user clicks on the "Previous" button, the last item should display. If the last item is displayed and the user clicks on the "Next" button, the first item should display.

 

Add a company logo to the GUI using Java graphics classes.

 

Post as all files as attachments in Java format.

 

Submit the assignment for grading.

 

The grading criteria for this assignment is:

 

50% - Program compiles

15% - Program executes with no runtime errors

10% - Program results are correct

15% - Program contains proper documentation

10% - Program runs correctly and is documented

 

Class

 

The following is a recap of the requirements for Inventory Program Part 5

 

  1. Modify the Inventory Program (Part 4). All previous requirements will not change.

 

  1. Add buttons to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. (If the first item is displayed and the user clicks on the “Previous” button, the last item should display. If the last item is displayed and the user clicks on the “Next” button, the first item should display.)

 

  1. Add a company logo to the GUI using Java graphics classes.

 

Helpful web sites:

 

https://docs.oracle.com/javase/tutorial/2d/basic2d/

 

http://www.javaworld.com/article/2077282/learn-java/using-the-graphics-class.html

 

http://sourcecodemania.com/the-graphics-class-in-java/

 

https://www.youtube.com/watch?-5PMUc5Y

 

  1. At the end of displaying all of the items, you will need a line that displays the total value of the entire inventory.

 

  1. You are expected to be able to resolve all of your compile errors before posting your assignment.

 

  1. You should not have to change your Product class nor the class you created for the additional new feature. They should work the same with your GUI as they did your Inventory Part 4 application.

 

  1. Be sure to attach all of your “.java” files.
    • 11 years ago