Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JPanel Fixed Position" Watch "JPanel Fixed Position" New topic
Author

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: http://aspose.com/file-tools
 
subject: JPanel Fixed Position