This is homework, and this questions Extends this one
So there is a button for First
, Prev
, Next
, and Last
Each should modify
Item ID, Name, Rating, Price, Units, Value, Fee, ValueW/Fee, Total Inventory Value
The last one is a static total of all units.
I am not sure if I should make each button do multiple calls like this.
productName.setText( product.getProductName() );
itemNumber.setText( String.valueOf( product.getItemNumber() ) );
Or make each JTextArea listen for the button then change its field. Does that even work?