mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
committed by
holger.bergunde
parent
408d347602
commit
095710e75a
@ -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());
|
||||
|
||||
Reference in New Issue
Block a user