Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.gui Subject: Re: Setting JList size Date: Thu, 02 Feb 2012 13:51:46 -0800 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: <3365e0a4-b13f-4c2c-a2d8-8c31a9663593@x6g2000pbk.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 2 Feb 2012 21:51:48 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="25487"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hZdUaRvfxi1j6puwD6wJoJ5UENpF+lNQ=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 In-Reply-To: Cancel-Lock: sha1:snGYqcUAluamruYSCCTCaaI7rUE= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4982 On 2/2/2012 1:09 PM, Jeff Higgins wrote: > list.setFont(list.getFont().deriveFont(16.0f)); setFont is a JComponent method. I wonder if the JList needs to be informed somehow that its font has change? May need to poke around under the code a bit to figure out how the view window is being calcualted to understand what might not get updated. If nothing else, try a revalidate(); that causes the LayoutManager to get involved, which may be what you want.