Multiple Choice
If button1 references a JButton object, which of the following statements will make its background blue?
A) button1.makeBackground(Color.BLUE) ;
B) button1.setBackground(Color.BLUE) ;
C) button1.makeBackground(BLUE) ;
D) button1.set.Background(BLUE) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
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
Q34: What will be the result of executing
Q35: When this argument is passed to the
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
Q40: Programs that operate in a GUI environment