This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 10744
    
    9

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!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dynamic positioning
 
It's not a secret anymore!