<Swing Dev> [9] Review request for 8157065: There is no the focus border on the selected tab.
Semyon Sadetsky
semyon.sadetsky at oracle.com
Fri Jun 3 15:20:40 UTC 2016
On 6/3/2016 2:41 PM, Sergey Bylokhov wrote:
> On 03.06.16 10:33, Semyon Sadetsky wrote:
>> Nimbus painter implements a lot of methods that GTK LnF painter does
>> not. GTK LnF painter only implements methods which are required to paint
>> the native UI element, because the painting approach used in GTK toolkit
>> is far different from Synth's painting approach and a lot of details
>> cannot be painted separately there.
>
> I do not say that we should implement all methods but we need to be
> consistent, if one version of paintTabbedPaneTabBorder is implemented
> then the second should be implemented too.
This conclusion need to be proven because there other methods of the GTK
painter implemented in the same way, for example,
paintSeparatorBackground(), and there were no complains for all the time.
>
>> So I'd not recommend anybody to use the GTK LnF painter as an usual
>> Synth painter.
>
> This is a public API, and it will be strange if two overloaded methods
> behave differently.
I did not get it. Could you provide an example?
More information about the swing-dev
mailing list