Linux - Nimbus LookAndFeel : Table Grid Lines are not coming
908392Jan 2 2012 — edited Jan 2 2012In my java application I am using NimBusLookAndFeel. I was trying to show grid lines in table.
Following code works perfectly fine on windows but not on Linux (table grid lines do not appear in linux)
UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
UIManager.put("Table.showGrid", true);
UIManager.put("Table.intercellSpacing", new Dimension (1,1));
Following are java version details on linux
java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)
I had also tried this on JDK 1.6 update 30 but in vain