Re: JButton default height

Discussion in 'Java' started by Thomas Weidenfeller, Apr 22, 2005.

  1. - wrote:
    > How does one get the default height for a JButton specific to the
    > different look and feel?


    Usually one doesn't. One leaves layouting to layout managers. These
    managers query the sizes of the components via the normal component API
    and calculate new positions and sizes.

    /Thomas

    --
    The comp.lang.java.gui FAQ:
    ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
     
    Thomas Weidenfeller, Apr 22, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    558
  2. Wotney
    Replies:
    1
    Views:
    532
    Flinky Wisty Pomm
    Oct 25, 2006
  3. tshad
    Replies:
    1
    Views:
    1,693
    bruce barker
    Mar 8, 2007
  4. Bernd Meier
    Replies:
    6
    Views:
    518
    GTalbot
    Jan 14, 2008
  5. samer
    Replies:
    3
    Views:
    434
    Gregory A. Beamer
    Sep 28, 2009
Loading...

Share This Page