Label.
The peer interfaces are intended only for use in porting
the AWT. They are not intended for use by application
developers, and developers should not implement peers
nor invoke any of the peer methods directly on the peer
instances.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| setAlignment | back to summary |
|---|---|
| public void setAlignment(int alignment) Sets the alignment of the label text.
| |
| setText | back to summary |
|---|---|
| public void setText(String label) Sets the text to be displayed on the label.
| |