TCO 3 Which of the following is true for a JLabel Points 6S
(TCO 3) Which of the following is true for a JLabel? (Points : 6)
Solution
The true statements for JLabel are
You can create a label with both text and icon.
You can create a label with an icon
setBorder method is used to set a border for JLabel.
setToolTip method is used to set a tool tip for JLabel.
