Question: 1. Exercise 1: Create a simple Graphical User Interface (GUI): Create new JFrameForm and use the Palette to drag and drop the Swing Containers and

1. Exercise 1: Create a simple Graphical User Interface (GUI): Create new JFrameForm and use the Palette to drag and drop the Swing Containers and Controllers like the figure shown. Design Preview deframe Input fermediate Load Outfiename Save Sort 2. 3. 4. 5. 6. Your Form should accept a file name in its text field. When the user presses OK Button, the content of the file appears in the Text area below, one word per line. When the sort button is pressed, the text in the text area is sorted and written back to the text area. When the save button is pressed, the text in the text area is saved to the output file. Provide a status label to indicate possible errors and handle all Exceptions (File Not Found Exception) Provide a sample test file in your project. You should always test your classes before you submit. 1. Exercise 1: Create a simple Graphical User Interface (GUI): Create new JFrameForm and use the Palette to drag and drop the Swing Containers and Controllers like the figure shown. Design Preview deframe Input fermediate Load Outfiename Save Sort 2. 3. 4. 5. 6. Your Form should accept a file name in its text field. When the user presses OK Button, the content of the file appears in the Text area below, one word per line. When the sort button is pressed, the text in the text area is sorted and written back to the text area. When the save button is pressed, the text in the text area is saved to the output file. Provide a status label to indicate possible errors and handle all Exceptions (File Not Found Exception) Provide a sample test file in your project. You should always test your classes before you submit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
