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 Component layout (Revised) 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 "Component layout (Revised)" Watch "Component layout (Revised)" New topic

Component layout (Revised)

Tim Jones

Joined: Apr 06, 2008
Posts: 28
When inserting comongnets within a JPanel (JFrame -> JDialog -> JTabbedPane -> JPanel) what has to be done to ensure the Componenets do not appear out of position when the screen resolution is switched? In my previous attempts. components positioned within the centre would either appear on the far right or diaappear off screen altogther when screen resolution is changed. How do I prevent this from happening?
I agree. Here's the link:
subject: Component layout (Revised)
It's not a secret anymore!