Method setText(String text)
Return type: void
Member of: javax.swing.JLabel
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 info.setText(" ");
2 messageLabel.setText(message == null ? " " : message);
3 noteLabel.setText(note == null ? " " : note);
4 if (value == null) setText("Null");
5 else label.setText("Null");
6 progressLabel.setText(" ");
7 tipLabel.setText ("Sign and Encrypt");
8 attribLabel.setText("Comment:");
9 setText((value == null) ? "" : value.toString());
10 mDropTargetLabel.setText("No item being dragged");
11 _relatedLabel.setText("Related Elements: ");
12 dlgPoly.lblHexValue.setText("Please wait...");
13 if (statusText.equals("")) this.setText(" "); // to keep height
14 selectedLabel.setText(" nothing processed yet");
15 setText(label);
16 label.setText(aLabel);
17 statusMessage.setText(s);
18 this.message.setText(message);
19 _statusLabel.setText(getRecordsDisplayedMessage());
20 scoreBoard.setText(homeTouchdowns + " : " + guestTouchdowns + " ");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.