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