292293294295296297298299300301302
g2.setColor(Color.blue); } ElementSelection dss=_selection.getSelectedShape(r); if(dss!=null){ dss.drawBounds(g2); } g2.draw(r); // UPdate the bottom right point