answersLogoWhite

0

button.getLabel();

button.setLabel("label");

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you you Create 2 text-field and 1 button in java using applet and then get the input as integers in 2 text-field and to display the output in label already created when you click the button?

How to you Create 2 text-field and 1 button in java using applet and then get the input as integers in 2 text-field and to display the output in label already created when you click the button? please send immediately,needed urgently


The control that is used to display text in other parts of a visual basic application?

Text box.


What is one reason for rotating text?

To display a label in a direction other than horizontal.


What is java console?

The Java console is a display of output sent by a Java program. This is similar to the MS DOS operating system.To print to the console, a programmer will type "println(text);" or "print(text);" depending is the programmer wants to make a new line after the text(println) or not(print).


What is the difference between label and text box?

A label is used to display text to provide information or context to the user, while a text box is an input field where the user can enter text or data. Labels typically do not allow user input, while text boxes are interactive and allow users to enter or edit text.


List out the version of java?

Running "java -version" will display the current version of Java.


What is the property of the label that holds the text of the label Visual Basic?

Text


What is the difference between a Label Control and Textbox control?

A Label control is used to display text to the user, whereas a Textbox control allows the user to input text. Labels are typically used for displaying information or instructions, while Textboxes are used for user input.


How do you convert the java file into JPEG file?

A java file it's only a text file. You can't convert a text file into a image file of any type. What you can do is open your java file in your editor an take an screenshot (you must have a key with the label 'print screen' in your keyboard) then open open some image editor like paint and finilly paste and save your image. Or you can chage the java extention for jpg in your java file and have fun trying to open it (sarcasm, don't do it).


Different text control tags?

Some Text control tags are * <FONT> to decide the display font * <B> to display text in Bold * <I> to display text in Italics * <H1> to <H6> to display text in header format * etc...


How do you display strikeout in HTML?

To display strikeout text use the <strike> tags. Example: <strike>Text</strike> Should Display: Text


What is case in java?

Case is used to label each branch in the switch statement in Java Program