Field CENTER_ALIGNMENT
Field type: float
Member of: java.awt.Component
[api documentation ] [ main menu]

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

1 c.setAlignmentX(Component.CENTER_ALIGNMENT);
2 this(5, CENTER_ALIGNMENT);
3 pane1.setAlignmentX(JLabel.CENTER_ALIGNMENT);
4 b1.setAlignmentX(JLabel.CENTER_ALIGNMENT);
5 realmLabel1.setAlignmentX(CENTER_ALIGNMENT);
6 SliderHeadline.setAlignmentX(CENTER_ALIGNMENT);
7 allowDanglingBox.setAlignmentX(JComponent.CENTER_ALIGNMENT);
8 sortButton.setAlignmentY(JComponent.CENTER_ALIGNMENT);
9 tpsLabel.setAlignmentX(Component.CENTER_ALIGNMENT);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.