Try This 15-1 A Swing-Based File Comparison Utility
Although you know only a small amount about Swing, you can still put it to use to create a practical application. In Project 10-1 you created a console-based file comparison utility. This project creates a Swing-based version of the program. As you will see, giving this application a Swing-based user interface substantially improves its appearance and makes it easier to use. Here is how the Swing version looks:
Because Swing streamlines the creation of GUI-based programs, you might be surprised by how easy it is to create this program.
1. Begin by creating a file called SwingFC.java ...