How to reorganize components after maximizing a Frame?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • momotaro
    Contributor
    • Sep 2006
    • 357

    How to reorganize components after maximizing a Frame?

    Hi,
    Is there a straight forward way to reorganize my components inside the Jframe upon re sizing this latter?
    Let's say that I have a button at the exact center of my Frame and when I maximize this latter I need the button to be automatically replaced in the center of the Jframe.

    thank's in advance.
  • rotaryfreak
    New Member
    • Oct 2008
    • 74

    #2
    would you be able to provide some code that you have tried? i believe if you are using a layout manager, then the buttons should move around accordingly. If you are not using a layout manager and placing the components on the frame using x,y coordinates then you will have to update the location of each component separately

    Comment

    Working...