From: Combe, C. <C....@na...> - 2004-04-23 10:59:50
|
hi, lines 301-306 of org/geotools/gui/swing/sldeditor/style/full/TreeStyleEditor.java read: int symCount = ruleNode.getChildCount(); Symbolizer[] symbolizers = new Symbolizer[symCount]; for(int k = 0; k < symCount; k++) { DefaultMutableTreeNode symNode = (DefaultMutableTreeNode) ruleNode.getChildAt(k); symbolizers[i] = (Symbolizer) symNode.getUserObject(); } should that be: symbolizers[k] = (Symbolizer) symNode.getUserObject(); for line 305? 'i' is the count of FeatureTypeStyles(declared line 291) not symbolizers. regards, colin |