From: Paolo M. <pao...@gm...> - 2006-09-01 16:43:07
|
Hi All, I'm working to complete the last tests in order to be ready to release the version 0.5.5 of SwiXAT. I found an error in the baseApp example that I cannot resolve :( The exception, raised when the Demo-->JTree-->Single Root Node menu item is invoked, is the following: [java] [ERROR,ConfigureableTreeCellRenderer] runs during access property 'name' into [java] java.lang.NoSuchMethodException: java.lang.String.getName() [java] at java.lang.Class.getMethod(Class.java:1581) [java] at org.swixat.databinding.ConfigureableTreeCellRenderer.getTreeCellRendererComponent(ConfigureableTreeCellRenderer.java:71) [java] at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2653) [java] at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475) ...[unnecessary omitted]... The problem is in the ConfigureableTreeCellRenderer.getTreeCellRendererComponent method, row 71, where java.lang.String.getName() is accessed by the cls.getMethod(...) instruction. Of course that method doesn't exist in the String class. BaseApp worked until some time ago, so maybe some change has broken that code. Somebody can help? Thanks Paolo -- http://www.jooneworld.com - Java Object Oriented Neural Engine http://www.swixat.org - Swing XML Authoring Tool |