Method getText()
Return type:
java.lang.String
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
return getText();
2
session.setProperty("db.tablename", seltableLabel.getText());
3
return new Pair ( label.getText ( ), getValue ( ) );
4
if (value != title.getText()) {
5
String textLabel = jLabel.getText();
6
jLabelSelectedDirectory.getText());
7
if (this.getText().equals("")) {
8
if(currentI != null && getText() != null)
9
assertEquals("test", renderer.getText());
10
if(currentI != null && getText() != null) {
11
String t = title.getText().toLowerCase().trim();
12
status(statusLabel.getText()+" Error: " + e.getMessage());
13
String text = getText();
14
String text = label.getText();
15
.addAttribute("model",decoderModel.getText())
16
Dimension d = new Dimension((int)getFont().getStringBounds(getText(), cont).getWidth() + 35, (int)getFont().getStringBounds(getText(), cont).getHeight());
17
String tip = lab.getText() + " ";
18
System.out.println( r.getText() + " --> " + l.getText() );
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.