wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes push the label left Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "push the label left" Watch "push the label left" New topic
Author

push the label left

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
hi guys, this is a quick question.

I have a panel (flow) and I added a JLable to it. how can I adjust/push the text left?

thanks
peter
Serghei Jelauc
Ranch Hand

Joined: Jul 24, 2002
Posts: 128
If you want to allign your label at tje panel:



that's all.
[ May 09, 2005: Message edited by: Serghei Jelauc ]

SCJP 1.4 <br />SCBCD 1.3<br />SCWCD 1.4
Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
excellent, thanks
Serghei Jelauc
Ranch Hand

Joined: Jul 24, 2002
Posts: 128
You are welcome.
 
jQuery in Action, 2nd edition
 
subject: push the label left
 
Similar Threads
keyEvents
support for " @ActivationConfigProperty(propertyName = "sendUndeliverableMsgsToDMQ", propertyValue "
Position Icon
push flowlayout panel to the left.
JSpinner and arrows