Revision 3537 branches/gvSIG_WMSv2/extensions/extWMS/src/com/iver/cit/gvsig/gui/panels/StyleTree.java

View differences:

StyleTree.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.1.2.2  2006-01-04 18:09:02  jaume
46
* Revision 1.1.2.3  2006-01-05 23:15:53  jaume
47
* *** empty log message ***
48
*
49
* Revision 1.1.2.2  2006/01/04 18:09:02  jaume
47 50
* Time dimension
48 51
*
49 52
* Revision 1.1.2.1  2006/01/03 18:08:40  jaume
......
118 121
                    leafComponent.add(new JLabel(((FMapWMSStyle) value).title));
119 122
                    return leafComponent;
120 123
                } else {
124
                	JTree t = new JTree();
125
            		Component branchComponent = t.getCellRenderer().getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus); 
126
            		return branchComponent;
127
            		
128
                	/*
121 129
                    JPanel branchComponent = new JPanel();
122 130
                    branchComponent.setBackground(Color.WHITE);
123 131
                    if (value instanceof WMSLayerNode)
124 132
                        branchComponent.add(new JLabel(((WMSLayerNode) value).getTitle()));
125 133
                    return branchComponent;
134
                    */
126 135
                }
127 136
            }});
128 137
        addMouseListener(new java.awt.event.MouseAdapter() { 

Also available in: Unified diff