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 dynamic positioning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "dynamic positioning" Watch "dynamic positioning" New topic
Author

dynamic positioning

naval joshi
Greenhorn

Joined: Jan 05, 2011
Posts: 8

ok i have a frame that has a panel in it...now as soon as my frame is maximized i want tha panel to do the same...how to acheive that in java....i have done same in flex...using percetage positioning..


scjp 6 , Adobe certified flex developer
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

You need to user layout managers.
More info here http://download.oracle.com/javase/tutorial/uiswing/layout/visual.html


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
jQuery in Action, 2nd edition
 
subject: dynamic positioning
 
Similar Threads
which layout manager
Gridbaglayout problom
which layout manager to use
Getting my main class and GUI components to talk without inner classes
how to put group of GUI components in title border...?