Question: Write a program names SortNamesGUI.java to perform the following tasks: 1. Design a GUI application as shown in the document 2. There are three buttons

Write a program names SortNamesGUI.java to perform the following tasks: 1. Design a GUI application as shown in the document 2. There are three buttons in the GUI, Load File, Sort First Name, Sort Last Name: When the "Load File" button is clicked on, load names from the file then display the names in the first JTextArea When the "Sort First Name" is clicked on, sort names according to their first name, then last name, display the sorted names in the second JTextArea When the "Sort First Name" is clicked on, sort names according to their last name, then first name, display the sorted names in the third JTextArea 3. Handle exceptions. For example, file not found, or clicked on sort button before names are loaded. 

Write a program names SortNamesGUI.java to perform the following tasks: 1. Design

Sorting Names Load FileSort First Name Data file Sort Last Name Soned based on last name Unsorted list Sorted based on first name Sorted based on last name

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!