Problem 2
State whether each of the following is true or false. If false, explain why.
a) When the programmer creates a JFrame, a minimum of one menu must be created
and added to the JFrame.
b) The variable
Problem 3
Find the error(s) in each of the following and explain how to correct the
error(s).
a) JMenubar b;
b) mySTider
Problem 4
Fill in the blanks in each of the following statements:
a)
Problem 5
State whether each of the following is true or false. If false, explain why. a) Menus require a JMenuBar object so they can be attached to a JFrame. b) BoxLayout is the default layout manager for a JFrame. c) Method setEditable is a JTextComponent method. d) Class JFrame directly extends class Container. e) JApplets can contain menus.
Problem 6
Find the error(s) in each of the following. Explain how to correct the
error(s).
a)