Develop a Swing graphical user interface for the application you developed in homework 4B.
You have considerable flexibility here, and programming style and the design of your user interface have a significant weight in this assignment.
Although there are no further formal "requirements", I've tried to write some tips and suggestions to help you understand the "intent" of the assignment and to steer you toward Swing classes that will lead you toward a solution.
On a Windows platform, look at the "Search Results" window as an example User Interface. This is easier to show interactively than to describe in text, so I'll try to demonstrate what I mean in class, but I'll outline it here also, for reference. At least on my machine, I can get to the "Search Results" window by right clicking the Start button, and selecting the menu item "Search...". You don't need to implement the "Containing Text" functionality or the other search options, but the Windows application is a "superset" of the type of functionality you do need to implement.
As a minimally sufficient replication of this interface for the purposes of this assignment, you should include (a) some static text (e.g. using JLabel), (b) a mechanism for entering your "pattern" and the starting directory (JTextField), (c) a mechanism for initiating your search (e.g. a JButton), and (d) a mechanism for displaying the results of your search (e.g. using a JTextArea). You will need to look into the Layout of your user interface (start with FlowLayout).
Elegant, well written code that implements this much functionality will receive a B.
Once you get this much to work, you should look into adding a mechanism to interrupt the search (e.g. a JButton to "Stop Search"). Note that you have to work with Threads in Java to get the desired functionality.
Elegant, well written code that implements this much functionality will receive an A.
If you want some suggestions for going "above and beyond", you can try the following. Do NOT attempt these until you are comfortable with the core functionality described above. Please note: these tips are designed to give ideas for students that want to be more challenged. You are not required to implement these; your primary focus should be developing elegant, well written code that implements the basic functionality described above.