void (Tree tree, String title) { myTree = (XDebuggerTree)tree; registerTreeDisposable(myDisposable, tree); myMainPanel.removeAll(); fillMainPanel(myMainPanel, tree); myMainPanel.revalidate(); myMainPanel.repaint(); }