File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!