resize windows with JFrame



I have make a class that extend JFrame. I have some textlabel, buttons,
etc.
But when I enlarge the window then buttons don`t move together.
How can I do?
Is there a method of JFrame class?

Thank you!

.


Quantcast