Constructor JLabel(String text)
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
JLabel textLabel = new JLabel(text);
2
addCaption(new JLabel(localize(label)),row,panel,weighty);
3
JLabel label = new JLabel(message);
4
JLabel label = new JLabel("Select an item from the list");
5
return new JLabel("speed table");
6
JLabel t = new JLabel(" "+name+" ");
7
return new JLabel("Texts shall be aligned, perceived bounds centered.");
8
JLabel label = new JLabel(s);
9
JLabel jl = new JLabel(name);
10
mLabel = new JLabel(pLabel);
11
JLabel postionLabel = new JLabel(label);
12
return new JLabel(""); // NOI18N
13
valueLabel = new JLabel ("Seconds: 0");
14
add(new JLabel(value), constraints);
15
panelGridRow[lastRow].add(new JLabel(topicDescription));
16
result.add(new JLabel("Follow inbounds: "));
17
p.add(statusLabel = new JLabel("OpenJNLP v" + OpenJNLP.getVersion()));
18
_columnNameLabel = new JLabel("Java property name");
19
this( new JLabel("Loading ... Please wait.") );
20
JLabel label = new JLabel("Select values:");
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.