aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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.
It is sorta covered in the JavaRanch Style Guide.
subject: JPanel Fixed Position