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 millimeters thick.
B) The JPanel referenced by panel will have a blue line border that is 5 pixels thick.
C) The JPanel referenced by panel will have a blue line border that is 5 characters thick.
D) The JPanel referenced by panel will have a blue line border that is 5 inches thick.


B) The JPanel referenced by panel will have a blue line border that is 5 pixels thick.

Computer Science & Information Technology

You might also like to view...

Which of the following is true about an abstract base class?

a. no constructors or destructors should be provided b. at least one member function is a pure virtual function c. no objects of the class can be created d. exactly two of the above e. all of (a), (b), and (c)

Computer Science & Information Technology

Which counter indicates the number of requests that are waiting to perform a disk read or write operation?

A. Logical Disk: Avg. Disk Queue Length B. Logical Disk: Avg. Disk sec/Read C. System: Processor Queue Length D. Memory: Pages/sec

Computer Science & Information Technology

________ was originally launched in 1985 with the StarWriter word-processing program

Fill in the blank(s) with correct word

Computer Science & Information Technology

The two types of meshed topologies are partially meshed and wholly meshed.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology