Computer Science, asked by Anonymous, 8 months ago

Q.what is jlabel?...​

Answers

Answered by Himani7906
1

Answer:

jlabel is a class of Java Swing. I Jlabel is used to display a short string or an image icon.

Answered by Anonymous
1
  • JLabel is a class of java Swing . JLabel is used to display a short string or an image icon. JLabel can display text, image or both . JLabel is only a display of text or image and it cannot get focus . JLabel is inactive to input events such a mouse focus or keyboard focus. By default labels are vertically centered but the user can change the alignment of label.

  • Java JLabel. The object of JLabel class is a component for placing text in a container. It is used to display a single line of read only text. The text can be changed by an application but a user cannot edit it directly.
Similar questions