SPARK-1298 removed background color from privacy tree in preference menu

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12300 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Holger Bergunde
2011-04-28 18:39:12 +00:00
committed by holger.bergunde
parent 408d347602
commit 095710e75a

View File

@ -52,6 +52,7 @@ public class PrivacyTreeCellRenderer extends DefaultTreeCellRenderer {
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) {
final Component c = super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
JPanel myPanel = new JPanel();
myPanel.setBackground(Color.white);
PrivacyTreeNode node = (PrivacyTreeNode) value;
myPanel.setLayout(new GridBagLayout());