31.16. Review Questions

 
[Page 967]

Chapter 29. Menus , Toolbars, Dialogs, and Internal Frames

Mayan God Shel, Mexico. Photographer: Philip Coblentz. Courtesy Brand X Pictures.

Objectives

  • To create menus using components JMenuBar , JMenu , JMenuItem , JCheckBoxMenuItem , and JRadioButtonMenuItem ( §29.2).

  • To create popup menus using components JPopupMenu , JMenuItem , JCheckBoxMenuItem , and JRadioButtonMenuItem ( §29.3).

  • To use JToolBar to create tool bars ( §29.4).

  • To use Action objects to generalize the code for processing actions ( §29.5).

  • To create standard dialogs using the JOptionPane class ( §29.6).

  • To extend the JDialog class to create custom dialogs ( §29.7).

  • To select colors using JColorChooser ( §29.8).

  • To use JFileChooser to display Open and Save File dialogs ( §29.9).

  • (Optional) To create internal frames using JInternalFrame ( §29.10).


[Page 968]

29.1. Introduction

Java provides a comprehensive solution for building graphical user interfaces. This chapter introduces menus, popup menus, tool bars, dialogs, and internal frames. You will also learn how to use Action objects to generalize the code for processing actions.

 


Introduction to Java Programming-Comprehensive Version
Introduction to Java Programming-Comprehensive Version (6th Edition)
ISBN: B000ONFLUM
EAN: N/A
Year: 2004
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net