If button1 is a JButton object, which of the following statements will make its background blue?

A) button1.makeBackground(BLUE);
B) button1.setBackground(Color.BLUE);
C) button1.makeBackground(Color.BLUE);
D) button1.set.Background(BLUE);


B) button1.setBackground(Color.BLUE);

Computer Science & Information Technology

You might also like to view...

You can break up a long statement into multiple lines as long as you don’t break up a __________.

a. keyword b. quoted string c. variable name d. all of the above

Computer Science & Information Technology

If the shape attribute is poly and the shape contains seven corners, how many values are needed for the coords attribute?

A. 7 B. 8 C. 14 D. 16

Computer Science & Information Technology

The first level on an individual slide is the subtitle

Indicate whether the statement is true or false

Computer Science & Information Technology

In the MySQL Query Browser, the ____________________ provides another way to create and edit scripts.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology