Question: USING JAVA ECLIPSE IDE ! ! ! ModifyProduct class: create ModifyProductFrame with its own main function to create the frame. if the product number is

USING JAVA ECLIPSE IDE !!! ModifyProduct class: create ModifyProductFrame with its own main function to create the frame. if the product number is entered correctly it will return 1 and the ModifyProductFrame will be shown. If it returns 0, an error message is shown, if the user selects cancel, it will return null. Create a while cycle to maintain this until user decides to opt-out and return to the main menu. ModifyProductFrame: include yes and no buttons, the product image should be found using a JFileChooser after selecting the Browse button. Frame opens and text fields should have all the information saved under the product number. User can then change any of the given values. Yes button should connect to a action performed method and create the product query instance and call the product query method, modifyProduct(), which receives all of the values given by the user. Database connection is then closed. No button disposes the ModifyProductFrame.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!