<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 07:33:54 UTC 2016
On 6/2/2016 9:09 PM, Sergey Bylokhov wrote:
> On 02.06.16 19:29, Semyon Sadetsky wrote:
>>> Should we implement paintTabbedPaneTabBorder() w/o orientation falg
>>> also?
>> It is not used in GTK LnF.
>
> But this painter extends the public SynthPainter, which can be used by
> the application. The Nimbus l&f which extends it implements both methods.
>
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.
So I'd not recommend anybody to use the GTK LnF painter as an usual
Synth painter.
More information about the swing-dev
mailing list