Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Brandon McCombs" Subject: setting size of JComboBox Message-ID: <45bc6eaf$0$5786$4c368faf@roadrunner.com> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 17 Date: Wed, 27 Apr 2011 15:29:42 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918182 96.60.20.240 (Wed, 27 Apr 2011 10:29:42 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:29:42 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:813 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