Answer:
Just once, at least that is how it should be.
End of the Chapter
That buttons it up for this chapter. If one or two topics have not yet clicked, you may wish to review the following.
- JButtons
- The layout manager for a Container.
- The FlowLayout manager
- Listener objects.
- The ActionListener for a JButton.
- Registering an ActionListener.
- The repaint() method
- The content pane of a JFrame.
- Changing the color of a JFrame's background.
- Details of the actionPerformed() method.
The next chapter will discuss more about GUI components.
The next chapter is Chapter 59. Chapter 58 became obsolete with Java 1.4 and has been removed.