About 7,100,000 results
Open links in new tab
  1. Java AWT Label - GeeksforGeeks

    Sep 19, 2023 · What is Label in Java AWT? Label in Java AWT is a component for placing text or images in a container. The text displayed in the Container (Display) by Java AWT Label can’t be edited directly by the user but needs the programmer to change it from his side.

  2. Label in Java Awt Example - Computer Notes

    A label is a component that may contain uneditable text. They are generally limited to single-line messages (Labels, short notes, etc.). They are usually used to identify components.

  3. AWT Label - Tpoint Tech - Java

    Mar 17, 2025 · The object of the Label 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 ...

  4. Creating Labels in an Applet Window using Advanced Java

    Label(): Empty label or doesn't display any String on Label. Label(String txt) : with a text string displayed on Label. Label(String txt, int align) : which is used for first displaying the string and then its alignment using Label.

  5. Label and JLabel in AWT & Swing - Tutorial Ride

    Labels are used for display purpose. It is a passive control i.e. it does not create any event or interaction with the user. It is used to display a single line read-only text.

  6. Label (Java Platform SE 8 ) - Oracle

    A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit it directly. For example, the code . . .

  7. Java AWT Label - Naukri Code 360

    Aug 5, 2024 · What is Label in Java AWT? In Java AWT (Abstract Window Toolkit), a Label is a component used to display a short, uneditable piece of text or an image. It provides a simple way to add descriptive text or graphical content to a user interface.

  8. AWT Label in Java - Online Tutorials Library

    Learn how to use AWT Label in Java for creating user interfaces. Explore examples and key features of AWT Label components.

  9. Java Applet Basics - GeeksforGeeks

    Feb 12, 2025 · Java Applets were small programs written in Java that ran inside a web browser. Learning about Applet helps us understand how Java has evolved and how it handles graphics. Note : java.applet package has been deprecated in Java 9 and later versions, as applets are no longer widely used on the web.

  10. Java Applet Adding and Removing labels - Stack Overflow

    Apr 26, 2016 · I am trying to make code that adds a label when I click and then removes the label when I press e. Can someone help me do this I added the labels and I got it to compile but the label won't...

  11. Some results have been removed
Refresh