This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX 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
It's not a secret anymore!