public static void removeSelectionHandleFrom(final PNode node){
  if (node == null) {
    throw new IllegalArgumentException("node must not be null");
  }
  Collection handlesToRemove=new ArrayList();
  for (Iterator i=node.getChildrenIterator(); i.hasNext(); ) {
    PNode n=(PNode)i.next();
    if (n instanceof SelectionHandle) {
      handlesToRemove.add(n);
    }
  }
  node.removeChildren(handlesToRemove);
}

public static void removeSelectionHandleFrom ( final PNode node ) { if ( node == null ) { throw new IllegalArgumentException ( "node must not be null" ) ; } Collection handlesToRemove = new ArrayList ( ) ; for ( Iterator i = node . getChildrenIterator ( ) ; i . hasNext ( ) ; ) { PNode n = ( PNode ) i . next ( ) ; if ( n instanceof SelectionHandle ) { handlesToRemove . add ( n ) ; } } node . removeChildren ( handlesToRemove ) ; }
remove the selection handle ( s ) from the specified node , if any exist .
