JDK-6937798 : Nimbus: Issues with JTable grid
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-03-24
  • Updated: 2012-03-22
  • Resolved: 2010-06-18
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.
JDK 6 JDK 7
6u21 b04Fixed 7Fixed
Related Reports
Relates :  
Description
there are issues with manual JCK tests if Nimbus LaF specified:

api/javax_swing/interactive/JTableTests.html#JTable[JTableTest0004] 
api/javax_swing/interactive/JTableTests.html#JTable[JTableTest0005] 
api/javax_swing/interactive/JTableTests.html#JTable[JTableTest0006] 
api/javax_swing/interactive/JTableTests.html#JTable[JTableTest0007] 

show grid checkbox is not selected at the beginning of the test;
grid is shown not for all columns (see screenshot attached)

source of the test:
http://stt-13.russia/set/stt/jck_promotions/6b/b24/binaries/JCK-runtime-6b/tests/api/javax_swing/interactive/JTableTests.html
also api/javax_swing/interactive/JTableTests.html#JTable[JTableTest0013] affected - change of color doesn't affect appearance of the table.
The issue mentioned in the related CR 6936495 is still reproducible.  So the checkbox in the JCK test mentioned in 6937798 is coming up unchecked for Nimbus L&F

The fix was partial in the 6u21-b04 PIT. So changing the status to Fix Failed and removing the verify-PIT keyword.

Comments
EVALUATION The checkbox in the test is uncheced for Nimbus L&F because JTable.getShowHorizontalLines() and JTable.getShowVerticalLines() return false by default, see #6936495 It is not clear if Nimbus designers deliberately decided never paint the horizontal/vertical lines for the table, or it is just a bug, will send a message to them
07-04-2010