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


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

Re: Setting font of JSlider

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.gui
Subject Re: Setting font of JSlider
Date Thu, 17 Nov 2011 08:36:20 -0800
Organization A noiseless patient Spider
Lines 23
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>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 17 Nov 2011 16:36:23 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="25098"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Y1L2E3Mcsa/8G/w9Ps3vAyieOlDpCuCI="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <6e61fa11-e0d6-43c0-a6d9-7f553509b999@f3g2000pri.googlegroups.com>
Cancel-Lock sha1:Nar3Kdw5T0k0wvtqQnMfFr7W5SE=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4755

Show key headers only | 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