<Swing Dev> Java look and feel doesn't draw rectangle when focus comes to the JSlider and hence focus is not clearly visible.
littlee at linux.vnet.ibm.com
Tue Jul 26 18:52:32 PDT 2011
On 07/07/2011 12:49 AM, Pavel Porvatov wrote:
> Hi Charles,
>> On 03/30/2011 05:37 PM, Charles Lee wrote:
>>> Starting SwingSet2 --> JColorChoose --> BackGround --> RGB
>>> Red is checked as default, but without focus (attached)
>>> After patch (attached), a focus (rectangle) is draw (attached).
> As you can see the MetalSliderUI#paintFocus is overridden to remove
> dashes, and it's an initial design of Metal LAF. I agree that in the
> Ocean theme a focused JSlider looks almost like a non-focused one
> (e.g. the Steel theme doesn't have such problem). There is a bug
> I'm not sure we can add dashes because of possible regressions...
> Regards, Pavel
I see. Thanks Pavel.
>> Hi guys,
>> 3 months pass. Is there anyone interested in the issue? should I move
>> this patch to openjdk 8?
More information about the swing-dev