This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Allignment Of Swing Component 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 "Allignment Of Swing Component" Watch "Allignment Of Swing Component" New topic

Allignment Of Swing Component

Ahesanali Khanusiya

Joined: Jul 15, 2010
Posts: 11

I want to align Jlable and Jtextfield Component in single line then which layout manager I used and how....
Darryl Burke

Joined: May 03, 2008
Posts: 4523

Take your choice.

luck, db
There are no new questions, but there may be new answers.
Rob Spoor

Joined: Oct 27, 2005
Posts: 19651

There are more layout managers that can do this than that cannot do this. FlowLayout is the easiest if the JTextField's size should remain fixed, BorderLayout if the size should grow.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Allignment Of Swing Component
Similar Threads
Calendar component
Any body implemented File Drag and Drop with GWT?
Wow 98% : I made it with your wishes!!!
how to create tablespace in java dbms
Static blocks