}
public void up() {
TreeControlNode parent = getParent();
ArrayList brothers = parent.children;
int myIndex = brothers.indexOf(this);
if (myIndex<brothers.size()-1) {
TreeControlNode nextOne =
(TreeControlNode) brothers.get(myIndex + 1);
brothers.set(myIndex, nextOne);
brothers.set(myIndex + 1, this);