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
Q50: Which component can be added to a
Q51: Which of the following would be an
Q52: What can be determined about obj from
Q53: Based on the statement below, which of
Q54: Which of the following defines the job
Q56: When a menu item is selected, what
Q57: When the user selects a menu item,
Q58: Examine the code below.What type of class
Q59: Given four JRadioButton objects in a ButtonGroup,
Q60: What is the container for top-level menu
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents