currentSelectPoint = e.getCamera().viewToLocal(e.getPosition());
double originalX = selectionAnchorPoint.getX(); double originalY = selectionAnchorPoint.getY(); double newX = e.getPosition().getX(); double newY = e.getPosition().getY();  double minX = Math.min(originalX,newX); double minY = Math.min(originalY,newY); double maxX = Math.max(originalX,newX); double maxY = Math.max(originalY,newY);  selectionNode.setBounds(minX,minY, maxX-minX,maxY-minY);
        public void respondDrag(PInputEvent e)        {            currentSelectPoint = e.getCamera().viewToLocal(e.getPosition());            repaint();        }