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


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

Re: adding border to JSlider using Nimbus

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.gui
Subject Re: adding border to JSlider using Nimbus
Date 2011-09-16 23:19 -0400
Organization The Wasteland
Message-ID <nospam-FC560F.23194716092011@news.aioe.org> (permalink)
References <daabdcd3-7d35-400f-9235-edf9539fef75@t30g2000prm.googlegroups.com> <nhn777hcj2qqga5of1f69d925d0inkjlht@4ax.com>

Show all headers | View raw


In article <nhn777hcj2qqga5of1f69d925d0inkjlht@4ax.com>,
 Roedy Green <see_website@mindprod.com.invalid> wrote:

> On Thu, 8 Sep 2011 11:57:31 -0700 (PDT), Fred
> <fred.l.kleinschmidt@boeing.com> wrote, quoted or indirectly quoted
> someone who said :
> 
> >I create a vertical JSlider with ticks and labels painted.
> >Its width is x pixels (x depends on the font, etc.)
> 
> Some of the Swing components are a actually composites.  The methods
> don't properly pass information on through to the appropriate inner
> component. You have to tease it out and talk to it directly.  Have a
> look at the source code is src.zip to discover how they are
> constructed.
> 
> I have put an few notes in the Java glossary about the process,
> especially JSpinner.  JSlider may be similar.
> 
> see http://mindprod.com/jgloss/jspinner.html

Good point about composites; JSpinner's editors implement Layout, 
accordingly. JSlider is not composite.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

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


Thread

adding border to JSlider using Nimbus Fred <fred.l.kleinschmidt@boeing.com> - 2011-09-08 11:57 -0700
  Re: adding border to JSlider using Nimbus Tom <tom400f@gmail.com> - 2011-09-08 22:57 +0000
  Re: adding border to JSlider using Nimbus "John B. Matthews" <nospam@nospam.invalid> - 2011-09-08 19:09 -0400
  Re: adding border to JSlider using Nimbus Roedy Green <see_website@mindprod.com.invalid> - 2011-09-16 16:45 -0700
    Re: adding border to JSlider using Nimbus "John B. Matthews" <nospam@nospam.invalid> - 2011-09-16 23:19 -0400

csiph-web