2.5 Graphics Supplement
It ain't over till it's over.
—YOGI BERRA
This section begins with a JavaFX application from Chapter 1 redone following the style rules discussed in this chapter. However, the rest of the section is devoted to the JOptionPane
class. This class provides you with a way to use windowing for I/O in your Java programs.
Chapter 3 also has a small amount of material on JOptionPane
. All the material on JOptionPane
in this chapter and in Chapter 3 is independent of the other material in this book. You may cover the material on JOptionPane
whether you cover the other material in the other graphics supplements or not. You can also omit the material on JOptionPane
and still cover the other material in the graphics supplements.
Get Java: An Introduction to Problem Solving and Programming, 8th Edition 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.