Multiple Choice
What will be the result of executing the following statement?
Panel.setBorder(BorderFactory.createLineBorder(Color.BLUE, 5) ) ;
A) The JPanel referenced by panel will have a blue line border that is 5 characters thick.
B) The JPanel referenced by panel will have a blue line border that is 5 inches thick.
C) The JPanel referenced by panel will have a blue line border that is 5 pixels thick.
D) The JPanel referenced by panel will have a blue line border that is 5 millimeters thick.
Correct Answer:

Verified
Correct Answer:
Verified
Q29: When used as an exit code, this
Q30: Which of the following is not a
Q31: What does JFC stand for?<br>A) Java Frame
Q32: What is the default title for the
Q33: This is a graphic image that is
Q35: When this argument is passed to the
Q36: If button1 references a JButton object, which
Q37: In a Swing application, you create a
Q38: Splash screens are particularly important for large
Q39: Swing components are part of the javax.swing