When you create a simple scroll pane using the constructor that takes no arguments, horizontal and vertical scroll bars appear only if they are needed.
Correct Answer:
Verified
Q10: The following statement produces a dark purple
Q11: The CardLayout manager generates a stack of
Q12: Java automatically converts the add() , remove()
Q13: A _ is placed at the top
Q14: The wildcard in the import java.awt.* statement
Q16: What is the parent class of JPanel
Q17: When you use BorderLayout , you are
Q18: The Color class can be used with
Q19: When components in a Swing UI require
Q20: With _, a redrawn JPanel is displayed
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents