Method setVerticalAlignment(int alignment)
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 setVerticalAlignment(CENTER);
2 out.setVerticalAlignment(JLabel.TOP);
3 _tipLabel.setVerticalAlignment(SwingConstants.TOP);
4 lblCursor.setVerticalAlignment(SwingConstants.CENTER);
5 setVerticalAlignment(JLabel.CENTER);
6 ((JLabel)lComponent).setVerticalAlignment(liAlignVal);
7 lblCaret.setVerticalAlignment(SwingConstants.CENTER);
8 label.setVerticalAlignment(JLabel.TOP);
9 beforeLabel.setVerticalAlignment(javax.swing.SwingConstants.TOP);
10 classLabelLabel.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.