Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #813

setting size of JComboBox

From "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this>
Subject setting size of JComboBox
Message-ID <45bc6eaf$0$5786$4c368faf@roadrunner.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:29 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Has anyone ever had issues with setting the preferred size of a 
JComboBox using GridBagLayout?  It seems the box's height is larger than 
  the JTextField's height that I create in the same window.  I can 
change the height of the JTextFields by using setPreferredSize() to 
match the JComboBox so everything is uniform but that's only because I 
can't decrease the JComboBox's height because it seems to ignore that 
call.  Any ideas?


thanks
Brandon

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

setting size of JComboBox "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
  Re: setting size of JComb "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
    Re: setting size of JComb "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
      Re: setting size of JComb "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
        Re: setting size of JComb "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000

csiph-web