Looks fine.
On 4/24/20 5:44 am, Prasanta Sadhukhan wrote:
Hi All,
Please review a fix for an issue where it is seen that the JTabbedPane
background for SCROLL_TAB_LAYOUT policy is not same as what is set by user.
This is in continuation with the fix done inJDK-8007563 and
<https://bugs.openjdk.java.net/browse/JDK-8007563>JDK-8078269
<https://bugs.openjdk.java.net/browse/JDK-8078269>where the fix was done for
WRAP_TAB_LAYOUT policy.
There, the fix checks if the "TabbedPane.tabAreaBackground" property set by OceanTheme or
other L&Fs would be used only if the background color is "UIResource" otherwise the
backgroundcolor which was set by the user should be used. The same check is now applied to
SCROLL_TAB_LAYOUT policy too to have consistent behaviour.
Bug: https://bugs.openjdk.java.net/browse/JDK-8172269
webrev: http://cr.openjdk.java.net/~psadhukhan/8172269/webrev.0/
Regards
Prasanta
--
Best regards, Sergey.