Alan Burlison's Work Related Ramblings

All | General | Java | NetBeans | Perl | Solaris
« OpenSolaris buzzes... | Main | Bypassing those... »

20060214 Tuesday February 14, 2006

JSlider oddity - setFont() is ignored

Despite what you might expect, the labels on a JSlider ignore any font that you specify with setFont(), at least in the Windows L&F. Most odd.

Posted by alanbur ( Feb 14 2006, 11:21:11 AM GMT ) Permalink Comments [3]

Trackback URL: http://blogs.sun.com/alanbur/entry/jslider_oddity_setfont_is_ignored
Comments:

hi i want to make string entered through java code to print bold on jfreereport without using xml bold features

Posted by vaibhav jain on January 18, 2007 at 04:21 AM GMT #

I found a closed bug for this:

5003958 Its not possible to set Font for JSlider

It obviously *isn't* fixed, so I've reopened the bug.

Posted by Alan Burlison on February 01, 2007 at 11:08 PM GMT #

It does not work on Linux and Solaris either

Posted by jhe on February 01, 2007 at 11:08 PM GMT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed