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


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

Re: Setting font of JSlider

From markspace <-@.>
Newsgroups comp.lang.java.gui
Subject Re: Setting font of JSlider
Date 2011-11-17 08:36 -0800
Organization A noiseless patient Spider
Message-ID <ja3d67$oga$1@dont-email.me> (permalink)
References <84432b53-6264-4adc-82f6-632e19b7288b@m13g2000prl.googlegroups.com> <ja1j34$q5a$1@dont-email.me> <6e61fa11-e0d6-43c0-a6d9-7f553509b999@f3g2000pri.googlegroups.com>

Show all headers | View raw


On 11/17/2011 8:27 AM, Fred wrote:

> On Nov 16, 4:04 pm, markspace<-@.>  wrote:
>> 22 is a pretty big font size.  Do you really need labels that big?

> No, I don't. I was just using it in this example to make it obvious
> that clipping happened.


Just to preface:  I didn't copy and run your example, I made my own from 
scratch, just to make certain that there weren't any hard to spot 
assumptions in the code.

My code did not exhibit any clipping at all, that I could see, until at 
LEAST 22 point.  It was slightly visible on the bottom (first) 0 on the 
scale.  At 30-50 point, it was pretty unsightly.  The font mattered too, 
with some "bold" fonts not clipping at all until at least 50 point or so.

If you want my code as a base, I'll post it, but it's a little 
complicated.  I generated most of it with a GUI tool and the tool makes 
a verbose amount of code.  I think it's still readable though.

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