Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.gui Subject: Re: Setting font of JSlider Date: Fri, 18 Nov 2011 03:24:58 -0800 Organization: Canadian Mind Products Lines: 24 Message-ID: References: <84432b53-6264-4adc-82f6-632e19b7288b@m13g2000prl.googlegroups.com> Reply-To: Roedy Green NNTP-Posting-Host: Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4757 On Wed, 16 Nov 2011 14:39:48 -0800 (PST), Fred wrote, quoted or indirectly quoted someone who said : >How do I set the font of a JSlider See http://mindprod.com/jgloss/jslider.html http://mindprod.com/jgloss/jspinner.html I am hazy on the details, but most of the trouble I remember came from composite components. You have to get at the inner components of the composite, and fiddle them individually. The notes I wrote when the details were fresh should explain it. I know for sure that applies to spinners, but I am not so sure it also applies to sliders. When I wrote my DateSpinner class, I propagated setxxx on the whole to the relevant components. Sun should have done the same. -- Roedy Green Canadian Mind Products http://mindprod.com I can't come to bed just yet. Somebody is wrong on the Internet.