Why I cannot call setSomething()?
Posted
by badgirl
on Stack Overflow
See other posts from Stack Overflow
or by badgirl
Published on 2010-03-26T15:18:33Z
Indexed on
2010/03/26
15:23 UTC
Read the original article
Hit count: 147
Hello. I dont know how to acces my method of my class ProjectNode, that is returned from ExplorerManager mgr like this:
mgr.getRootContext().setSomething()
getRootContext() returns Node object, but I put class ProjectNode (extends AbstractNode, abstractNode extends Node)into rootContext.
The compiler does not want to eat that line of code. But it must!
© Stack Overflow or respective owner