Hi,
I have some trouble with the use of a JContextTree. I'm using geotools
version 2.6.1, and it seems that there are some problems of methods.

If I use gt-widgets-swing-pending-2.6-SNAPSHOT.jar, I have this error and
nothing is displayed:
Exception in thread "main" java.lang.NoSuchMethodError:
org.geotools.gui.swing.contexttree.ContextTreeModel.setColumnIdentifiers(Ljava/util/Vector;)V

So I tried with gt-widgets-swing-2.9.1.jar, I have this error when I want to
add a layer:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
org.geotools.map.MapContext.addContextListener(Lorg/geotools/map/ContextListener;)V
        at
org.geotools.gui.swing.contexttree.ContextTreeModel.addMapContext(ContextTreeModel.java:374)


I have also tried to replace gt-render 2.6.1 by version 2.9.1 but there are
also some problems.

So if someone has any advice to give me to solve this problem, that would be
very nice. 
-- 
View this message in context: 
http://n2.nabble.com/JContextTree-and-layers-tp4684227p4684227.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to