public RemoteResourceWrapper getRootWrapper() {
return rootResource;
}
public void renameNode(RemoteResourceWrapper rw, String label) {
TreeNode tn = getNode(rw);
// if it is a visible node, change the label and repaint
if (tn != null) {
try {
if (rw != rootResource)
label = getFrameName(rw.getResource(), label);
} catch (RemoteAccessException ex) {
//nothing
}
tn.setLabel(label);
repaint();
}
}