I'm adding a series of components into a JPanel with GridLayout.
The GridLayout has 1 column and multiple rows, and looks like the
following.
[TITLE JLabel]
[CheckBox]
[CheckBox]
[CheckBox]
[CheckBox]
[JPanel, flowlayout(center) with cancel and submit buttons]
I'd like 1st component, TITLE, to be in the center along X-axis, while
the rest will be aligned to the left. Currently , all items are
aligned to the left.
I've tried setAlignmentX(0.5f) for the JLabel, but it doesn't work.
The javadoc is vague on how setAlignmentX is used.
If you have any comments or questions, submit it on the message board.
NO spam/ads/job posting or you will be BANNED from this group. Exception can be
made it happen by notify me ahead of time.
all new members' message will be verified by me (spam..) before it get posted.
Yahoo! Groups Links
<*> To reply to this message, go to:
http://groups.yahoo.com/group/java_official/post?act=reply&messageNum=17967
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/java_official/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/