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


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

Re: Setting font of JSlider

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.gui
Subject Re: Setting font of JSlider
Date 2011-11-18 03:24 -0800
Organization Canadian Mind Products
Message-ID <dsfcc7dtehsd3jvchf8rem3lkm2sct288c@4ax.com> (permalink)
References <84432b53-6264-4adc-82f6-632e19b7288b@m13g2000prl.googlegroups.com>

Show all headers | View raw


On Wed, 16 Nov 2011 14:39:48 -0800 (PST), Fred
<fred.l.kleinschmidt@gmail.com> 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. 

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


Thread

Setting font of JSlider Fred <fred.l.kleinschmidt@gmail.com> - 2011-11-16 14:39 -0800
  Re: Setting font of JSlider markspace <-@.> - 2011-11-16 16:04 -0800
    Re: Setting font of JSlider Fred <fred.l.kleinschmidt@gmail.com> - 2011-11-17 08:27 -0800
      Re: Setting font of JSlider markspace <-@.> - 2011-11-17 08:36 -0800
  Re: Setting font of JSlider Roedy Green <see_website@mindprod.com.invalid> - 2011-11-18 03:24 -0800
    Re: Setting font of JSlider Roedy Green <see_website@mindprod.com.invalid> - 2011-11-18 07:29 -0800

csiph-web