Point2D p = e.getPoint();
if (checkModifiers(e) && isConsumer()) {
if (Math.sqrt( line.getBounds2D().getWidth() + line.getBounds2D().getHeight() ) > 10) {
Color c = JColorChooser.showDialog(vv, "Choose a foreground color", Color.GRAY);
if (c != null) {
NexsmPaintableLine npb = new NexsmPaintableLine();
npb.setP1(vv.inverseTransform(down));
npb.setP2(vv.inverseTransform(p));
npb.setColor(c);
if (gm != null) {
gm.putRenderer(vv.getName(), npb);
}
}
}