Multiple Choice
Which of the following adds a border to the following panel?
JPanel panel = new JPanel() ;
A) panel.addEtchedBorder() ;
B) panel.addBorder(new EtchedBorder() ) ;
C) panel.add(new EtchedBorder() ) ;
D) panel.setBorder(new EtchedBorder() ) ;
Title
Which statement adds a border to this panel?
type
mc
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q47: Which layout manager constructor call would be
Q48: A _ is a combination of a
Q49: What is the easiest way to create
Q50: Which of the following is true about
Q51: Which code will create a JSlider with
Q53: Which of the following classes has a
Q54: What is wrong with the following code?<br>class
Q55: For a new programmer using the Swing
Q56: Which method can a program use to
Q57: What is the general order of a