Color newColor = JColorChooser.showDialog(selectedVV, "Choose new color", selectedRenderer.getColor());
if (newColor != null) {
selectedRenderer.setColor(newColor);
}
} else if (jmei.getActionCommand().equals("copy")) {
NexsmPaintable np = (NexsmPaintable)selectedRenderer.clone();
gm.putRenderer(selectedVV.getName(), np);
} else if (jmei.getActionCommand().equals("size")) {
if (selectedRenderer instanceof NexsmPaintableText) {
int size = ((NexsmPaintableText)selectedRenderer).getFontSize();
String s = JOptionPane.showInputDialog(selectedVV, "Font Size", (Object)("" + size));