June 2017
Beginner
1296 pages
69h 23m
English
35.4 (Fill-in-the-Blanks) Fill in the blanks in each of the following statements:
A JMenuItem that is a JMenu is called a(n) .
Method attaches a JMenuBar to a JFrame.
Container class has a default BoxLayout.
A(n) manages a set of child windows declared with class JInternalFrame.
35.5 (True or False) State whether each of the following is true or false. If false, explain why.
Menus require a JMenuBar object so they can be attached to a JFrame.
BoxLayout is the default layout manager for a JFrame.
JApplets can contain menus.
35.6 (Find the Code Errors) Find the error(s) in each of the following. Explain how to correct the error(s).
x.add(new JMenuItem(“Submenu Color”)); ...