<Swing Dev> Java look and feel doesn't draw rectangle when focus comes to the JSlider and hence focus is not clearly visible.
Charles Lee
littlee at linux.vnet.ibm.com
Wed Jul 27 01:52:32 UTC 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
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4966108
>
> 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?
>>
>
--
Yours Charles
More information about the swing-dev
mailing list