<Swing Dev> [9] Review request for 8157065: There is no the focus border on the selected tab.

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Jun 3 11:41:01 UTC 2016


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.

> 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.

-- 
Best regards, Sergey.



More information about the swing-dev mailing list