/** Action performed before closing the frame. */ private void close() { treePane.removeFrame(this); return; }