Chapter 26. An Introduction to Java GUIs

In Chapter 25, we discussed three ways to read input data into an application and two ways to write the output out. Using command line arguments, the standard I/O streams, or file I/O are good choices for many applications. There is another way for an application to read and write data—by creating a GUI front end to the application. The GUI provides a visual display of both the inputs and outputs from an application.

There are many benefits to using GUIs with your analysis tools. The application becomes more visual. The user can see the inputs and outputs on her console. A GUI can clearly present the acceptable input choices to the user. For example, if a particular input argument has only three acceptable ...

Get Technical Java™: Developing Scientific and Engineering Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.