Matching
Match each term with the correct statement below.
Premises:
Use when you need to add components into a grid of rows and columns; each component is the same size
A type of event generated by mouse manipulation
Resides above the content pane
Allows the user to scroll initially invisible parts of the pane into view
A key that does not generate a character, such as a function key
Use when you need to set size, placement, and alignment constraints for every component that you add
Use this class to greatly increase the number of possible component arrangements
Can be used with the setBackground() and setForeground() methods of the Component class
The default size of a component
Responses:
JPanel
Color class
JScrollPane
MouseEvent
preferred size
GridBagLayout
GridLayout
glass pane
action key
Correct Answer:
Premises:
Responses:
Use when you need to add components into a grid of rows and columns; each component is the same size
A type of event generated by mouse manipulation
Resides above the content pane
Allows the user to scroll initially invisible parts of the pane into view
A key that does not generate a character, such as a function key
Use when you need to set size, placement, and alignment constraints for every component that you add
Use this class to greatly increase the number of possible component arrangements
Can be used with the setBackground() and setForeground() methods of the Component class
The default size of a component
Premises:
Use when you need to add components into a grid of rows and columns; each component is the same size
A type of event generated by mouse manipulation
Resides above the content pane
Allows the user to scroll initially invisible parts of the pane into view
A key that does not generate a character, such as a function key
Use when you need to set size, placement, and alignment constraints for every component that you add
Use this class to greatly increase the number of possible component arrangements
Can be used with the setBackground() and setForeground() methods of the Component class
The default size of a component
Responses:
Related Questions
Q56: When you place a component on the
Q57: The parent class of MouseEvent is _.<br>A)
Q58: Write the statement to create a Color
Q59: The Color class can be used with
Q60: The CardLayout manager generates a stack of
Q61: Clicking an item in a list box
Q62: Use the _ layout manager when you
Q64: What is an adapter class?
Q65: import java.awt.*; <br>import javax.swing.*; <br>import java.awt.Color; <br>public
Q66: As you add new Components to a