Question: Write java code using swing GUI using file input/output Thinking about the many different forms in your life, wouldnt it be great if you could

Write java code using swing

GUI using file input/output

Thinking about the many different forms in your life, wouldnt it be great if you could just automatically populate them with the information instantly?

Write a program that has at least 5 labeled input fields which a user can enter information. (By default starting the program the fields should be blank). After the user has filled in the fields and clicked the save button, the program should save the output to a file and inform the user that their file has been successfully written. When the user clicks the load button, the FileChooser dialog should appear and the user should be able to select the input file the have previously generated in order to populate the fields. Your program should have 2 exception cases that it handles, if a user tries to save a file when they have not filled out all of the fields and if a user tries to load a file that does not have the expected input, (for example if the user selects an empty file) These exception cases should inform the user of these exceptions by changing the GUI in some way. Your program should look similar to the one below:

Write java code using swing GUI using file input/output Thinking about the

be creative when you create your at least 5 unique fields. Your program can be for any type of form, and you can choose to customize your program to make any form you like!

My GUI Program Name Address Birthday Favourite Colour Blue Occupation Anthony 123 Fake St August 22nd 2018 Professor Load Save

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!