JDK-8345090 : [REDO] - GTK & Nimbus LAF: Tabbed pane's background color is not expected one when change the opaque checkbox.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,11,12,13,18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86_64
  • Submitted: 2024-11-27
  • Updated: 2025-08-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd b23Unresolved
Related Reports
Cloners :  
Duplicate :  
Relates :  
Sub Tasks
JDK-8345091 :  
Description
Testsuite name: Regression manual
Test name(s): javax/swing/JTabbedPane/4690946/bug4690946.java
Product(s) tested: JDK11.0.5b01(64bit)
OS/architecture: Oel7.6-uek-x64/Jtreg4.2b14
Options:-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

Actual behavior:
1.The background color of the tabbed pane is not red.Please refer to default-with-options.png
2.When the opaque checkbox is unchecked,the tabs area and content area is not opaque .Please refer to default-with-options.png 
3.When the opaque checkbox is checked,the content area is not opaque and the selected tab is not gray.Please refer to opaque-with-options.png
4.There is no such issue without options.Please refer to default-no-options.png and opaque-no-options.png

Comments
javax/swing/JTabbedPane/TestJTabbedPaneOpaqueColor.java is problemlisted for windows and linux platform, will be taken up later.
03-12-2024