Java Reference
In-Depth Information
Try This 16-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 Try This 10-1 , you created a console-based file comparison util-
ity. 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 and then enter the following comment
and import statements:
Search WWH ::




Custom Search