Tom Oinn wrote:

You should use : Sequence s = (Sequence)((DefaultMutableTreeNode)getUserObject()); instead, and next time read the javadoc for TreeCellRenderer and the like more carefully :)

Or even : Sequence s = (Sequence)((DefaultMutableTreeNode)value).getUserObject(); in the case of wanting code that actually compiles!

Tom
_______________________________________________
Biojava-l mailing list  -  Biojava-l@biojava.org
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to