{"id":3728,"date":"2014-03-29T09:02:02","date_gmt":"2014-03-29T09:02:02","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/linux-nimbus-lookandfeel-table-grid-lines-are-not-coming-collection-of-common-programming-errors\/"},"modified":"2014-03-29T09:02:02","modified_gmt":"2014-03-29T09:02:02","slug":"linux-nimbus-lookandfeel-table-grid-lines-are-not-coming-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/linux-nimbus-lookandfeel-table-grid-lines-are-not-coming-collection-of-common-programming-errors\/","title":{"rendered":"Linux &#8211; Nimbus LookAndFeel : Table Grid Lines are not coming-Collection of common programming errors"},"content":{"rendered":"<p>you have to overrive following Nimbus UIDefaults<\/p>\n<pre><code>try {\/\/ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\n    for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {\n        if (info.getName().equals(\"Nimbus\")) {\n            UIManager.setLookAndFeel(info.getClassName());\n            UIDefaults defaults = UIManager.getLookAndFeelDefaults();\n            defaults.put(\"Table.gridColor\", new Color (214,217,223));\n            defaults.put(\"Table.disabled\", false);\n            defaults.put(\"Table.showGrid\", true);\n            defaults.put(\"Table.intercellSpacing\", new Dimension(1, 1));\n            break;\n        }\n    }\n} catch (Exception e) {\n    \/\/e.printStackTrace();\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>you have to overrive following Nimbus UIDefaults try {\/\/ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { if (info.getName().equals(&#8220;Nimbus&#8221;)) { UIManager.setLookAndFeel(info.getClassName()); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); defaults.put(&#8220;Table.gridColor&#8221;, new Color (214,217,223)); defaults.put(&#8220;Table.disabled&#8221;, false); defaults.put(&#8220;Table.showGrid&#8221;, true); defaults.put(&#8220;Table.intercellSpacing&#8221;, new Dimension(1, 1)); break; } } } catch (Exception e) { \/\/e.printStackTrace(); }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3728","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3728"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3728\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}