I can't even understand this problem since im a stupid beginner.

I feel like I'm gonna die..

Please anybody help me..

Implement a “Cash Register” applet as demonstrated below. It should have the following functionality:

1.A section containing 9 buttons in a 3x3 layout where each button corresponds to an item to be purchased and an associated item cost. The example below has each button correspond to a common fruit.

2.Another button (Clear) below the 9 buttons to set all values back to the original values.

3.A field above the buttons to accept a quantity of items to be purchased.

4.Another field that displays the current total of purchases (sum of all quantity * price). The user should not be able to enter any value into this field directly. There is no need to worry about formatting the display.

5.A display field at the bottom to display the record of items purchased with a associated line item total in the format below. This area should show at least the last five items purchased in the display area. Line items more that 5 can be accessed via a scroll bar (part of a TextArea). The user should not be able to enter any value into this field directly.

3 orange @ .55 each $1.65

The organization of the components on the screen is important and will be considered for grading purposes. The use of nested panels and the various layout managers is expected.

Can't anybody help me?


Not that it will do much good, but

Homework builds on previous homework. If you've been getting by by getting others to do all your assignments, then you well and truly deserve to fail.

Otherwise, go over your previous assignments (like putting anything at all on screen). It is not "all new", so read carefully for bits you've done before.

Then post some kind of effort.

if you're as lazy as you appear to be, we won't rue your death.