阅读背景:

关于model.reload()调用的Java SwingWorker NullPointerException

来源:互联网 

I am trying to add child nodes to a JTree inside a SwingWorker thread. Then reload the model to update the UI. When I reload the JTree DefaultModel it throws a NullPointerException. Is there a way to fix this? or do I have to find a different approach?I am trying to add child nodes to a JTree insid




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: