[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-swing-dev
Subject:    <Swing Dev> Java look and feel doesn't draw rectangle when focus comes to the JSlider and hence focu
From:       littlee () linux ! vnet ! ibm ! com (Charles Lee)
Date:       2011-07-27 1:52:32
Message-ID: 4E2F6F60.4050905 () linux ! vnet ! ibm ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic