Re: Border layout and Jlist

From: Aki \ (aki.laukkanenREMOVETHIS_at_helsinki.fi)
Date: 03/30/05

  • Next message: Konstantin Radoslavov via JavaKB.com: "Re: JInternalFrame query"
    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!"
    

  • Next message: Konstantin Radoslavov via JavaKB.com: "Re: JInternalFrame query"

    Relevant Pages

    • Re: Border layout and Jlist
      ... 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. ... The container where I was setting the layout to null is a JFrame.What I have is some internal frames inside the desktop pane. ...
      (comp.lang.java.gui)
    • Re: Border layout and Jlist
      ... Daniel Santos wrote: ... You just want to dodge learning layout managers. ... You said you want to have resizable components (Message-ID: ...
      (comp.lang.java.gui)