File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Component layout (Revised)" Watch "Component layout (Revised)" New topic
Author

Component layout (Revised)

Tim Jones
Greenhorn

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?
 
Consider Paul's rocket mass heater.
 
subject: Component layout (Revised)
 
Similar Threads
Dynamic Framset ?
screen resolution change detection
Dynamic Framset ?
Javascript to get browser and monitor size?
ExamLab SCJP 5 by Devaka cooray