Re: Border layout and Jlist
From: Aki \ (aki.laukkanenREMOVETHIS_at_helsinki.fi)
Date: 03/30/05
- Previous message: Thomas Weidenfeller: "Re: Border layout and Jlist"
- In reply to: Thomas Weidenfeller: "Re: Border layout and Jlist"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 10:22:28 +0300
Thomas Weidenfeller wrote:
> Daniel Santos wrote:
>
>> 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.
>
> You said you want to have resizable components (Message-ID:
> <4241f536$0$24083$a729d347@news.telepac.pt>).
>
> 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.
-- -Aki "Sus" Laukkanen "Älä multa kysy tai mä vastaan!" "Don't ask me or I'll answer!"
- Previous message: Thomas Weidenfeller: "Re: Border layout and Jlist"
- In reply to: Thomas Weidenfeller: "Re: Border layout and Jlist"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|