>>151
俺も昔研究でJava3Dを使ったときあるけど、
同じように追加は出来てもremoveが出来なかった記憶がある。
で、今昔使ってたソース見て(すっげー恥ずかしい)やってみたら出来たよ。
一応↓がその(削除で追加)のコア部分だけど,
俺も忘れてしまって詳しくは説明出来ないから自分で理解してくれ.
STLGroupってのはSTLGroup extends BranchGroupで
STLファイルを読み込んで3Dオブジェクトを生成するクラス.

public void actionPerformed(ActionEvent e) {
if (!(e.getSource() instanceof JFileChooser))
return;

File selectFile = this.stlFileChooser.getSelectedFile();
String filename = this.stlFileChooser.getName(selectFile);
String absFilename = selectFile.getAbsolutePath();

this.universe.getLocale().removeBranchGraph(this.scene);

for (int i = 0, n = this.transformGroup.numChildren(); i < n; i++) {
Node node = this.transformGroup.getChild(i);
if (node instanceof BranchGroup) {
this.transformGroup.removeChild(node);
}
}

this.transformGroup.addChild(new STLGroup(absFilename));
this.universe.addBranchGraph(this.scene);
}