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


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

Re: Setting font of JSlider

From markspace <-@.>
Newsgroups comp.lang.java.gui
Subject Re: Setting font of JSlider
Date 2011-11-16 16:04 -0800
Organization A noiseless patient Spider
Message-ID <ja1j34$q5a$1@dont-email.me> (permalink)
References <84432b53-6264-4adc-82f6-632e19b7288b@m13g2000prl.googlegroups.com>

Show all headers | View raw


On 11/16/2011 2:39 PM, Fred wrote:
> How do I set the font of a JSlider after it has been created, such
> that its size is correct if it is the child of a JPanel used to
> display a border ?


Yup, it clips.  After about a font size of 22, I get pretty noticeable 
clipping.  Also, the labels tend to display on top of each other.

Dems the breaks.  Code has bugs.  Submit a bug report to Oracle, and it 
might be fixed in Java 8.

22 is a pretty big font size.  Do you really need labels that big?

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