On Thu, 2 Feb 2023 10:38:18 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> In SwingSet2 in TableDemo, we can see grid dividers in Metal L&F but 
> if we Switch to the Nimbus LaF which has no grid dividers by default and then 
> if we switch to Java (Metal): it will show no dividers.
> 
> Issue is Nimbus call JTable.showGrid(false) in installDefaults but fail to 
> reset in uninstallDefaults which is now rectified.
> 
> No regression test is added as it can be verified by SwingSet2 Tabledemo..

This pull request has now been integrated.

Changeset: 6b422754
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/6b422754613937f02caa2e30ca4846c20828fe1d
Stats:     97 lines in 2 files changed: 93 ins; 2 del; 2 mod

7154070: in SwingSet2, switching between LaFs it's easy to lose JTable dividers
6788475: Changing to Nimbus LAF and back doesn't reset look and feel of JTable 
completely

Reviewed-by: tr, abhiscxk, honkar, jdv

-------------

PR: https://git.openjdk.org/jdk/pull/12385

Reply via email to