How to auto resize the panel ? If user enlarge the window, the panel
can be enlarged also.
Please provide an example.
thanks.
Andrew Thompson - 30 Aug 2007 05:31 GMT
>How to auto resize the panel ? If user enlarge the window, the panel
>can be enlarged also.
Put the (J)Panel in BorderLayout.CENTER.
>Please provide an example.
Please pay me (this is not a help desk).

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Roedy Green - 30 Aug 2007 07:11 GMT
>How to auto resize the panel ? If user enlarge the window, the panel
>can be enlarged also.
>Please provide an example.
This is what layouts do for a living. See
http://mindprod.com/jgloss/layout.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
RedGrittyBrick - 30 Aug 2007 11:19 GMT
> How to auto resize the panel ? If user enlarge the window, the panel
> can be enlarged also.
> Please provide an example.
Use Google Groups to search comp.lang.java.help for a thread on the
subject of "Swing GUI" 22/8/2007, there's a couple of examples of what
you seek.
Ishwor Gurung even rated them. :-)