> Allow me to explain myself better. I want a null layout,

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
>> Allow me to explain myself better. I want a null layout,
>
> You don't. You just want to dodge learning layout managers.
Which, I can tell from experience, is a Bad Idea with capital letters.
I started a programming project without knowing anything about layout
managers and ended up in a world of trouble.
>> so I can set the positions of components with absolute coordinates.
>> That's why I am setting it to null.
[quoted text clipped - 4 lines]
> Conclusion: You need layout managers. Insisting on not using one
> therefore doesn't make much sense.
Indeed. And even withou the need for resizeable components, it's rather
sloppy not to define any layout managers. I, too, suggest you learn
about different layout managers, experiment with different layouts and
then decide which layout managers to use where. Components' minimum,
preferred and maximum sizes are also important when defining layouts.

Signature
-Aki "Sus" Laukkanen
"Älä multa kysy tai mä vastaan!"
"Don't ask me or I'll answer!"
Daniel Santos - 30 Mar 2005 17:41 GMT
Aki "Sus" Laukkanen wrote:
>>> Allow me to explain myself better. I want a null layout,
>>
[quoted text clipped - 18 lines]
> then decide which layout managers to use where. Components' minimum,
> preferred and maximum sizes are also important when defining layouts.
Hello,
Thanks for your answers, I agree completely with having to learn layouts.
The container where I was setting the layout to null is a JFrame.What I
have is some internal frames inside the desktop pane. Internal frames
always have to be sized and positioned using API calls.
Does it matter in that case ?
Regards,
Daniel Santos