> i want to set null layout for container, but it is possible on my
> trials how can i set null layout to container plz describe about that
> if it is possible.......
The only time you should set a null layout is if you're going to
manage the positions and sizes of your components on your own. This
is generally a bad idea, and you should make sure that you're not
overlooking a better solution...
However, myContainer.setLayout(null); should do the trick.
If you post a message here (or comp.lang.java.gui) about what you're
ultimate goal is, someone might tell you a better approach.
Good luck,
Daniel.
Roedy Green - 26 Sep 2007 23:48 GMT
On Wed, 26 Sep 2007 05:14:43 -0000, Daniel Pitts
<googlegroupie@coloraura.com> wrote, quoted or indirectly quoted
someone who said :
>However, myContainer.setLayout(null); should do the trick.
With Swing that becomes jFrame.getContentPane().setLayout(null);

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com