/** * Add a child and update the tree. * Must be called from swing thread. */ @Override public void addChild(ITreeNode node) { assert SwingUtilities.isEventDispatchThread();// || Starter.isShutdown(); super.addChild(node); }
/** * Add a child and update the tree. * Must be called from swing thread. */ @Override public void addChild(int index, ITreeNode node) { assert SwingUtilities.isEventDispatchThread();// || Starter.isShutdown(); super.addChild(index, node); }