When an application uses many components, rather than deriving just one class from the JFrame class, it is often better to encapsulate smaller groups of related components and their event listeners into their own class. A commonly used technique to do this is:
A) To extend a class from the JAbstractButton class to contain other components and their related code
B) To extend a class from the JComponent class to contain other components and their related code
C) To extend a class from the JPanel class to contain other components and their related code
D) To extend a class from the JFrame class to contain other components and their related code
C) To extend a class from the JPanel class to contain other components and their related code
You might also like to view...
The Excel Web App ________ tab includes these commands: Refresh Selected Connection, Refresh All Connections, Calculate Workbook, Sort Ascending, and Sort Descending
A) INSERT B) FORMULAS C) HOME D) DATA
Which of the following refers to a graphic that can be moved independently of the surrounding text?
A) Layout object B) Floating object C) Shape D) Inline object