This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JPanel Fixed Position Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JPanel Fixed Position" Watch "JPanel Fixed Position" New topic

JPanel Fixed Position

siva chaitanya
Ranch Hand

Joined: Jul 05, 2011
Posts: 59
How can i set fixed position for JPanel ?
When i drag the window to the right side the panel also changing its position to the right. So how can i set fixed position of JPanel even when i drag the window ?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
use the correct layout manager.
BorderLayout might be one.
I agree. Here's the link:
subject: JPanel Fixed Position
jQuery in Action, 3rd edition