// lineColorButton = new JButton(getIconForPaint(getLinePaint(),
// false));
interString = i18n.get(DrawingAttributes.class,
"lineColorItem",
"Change Edge Color");
lineColorItem = new JMenuItem(interString);
lineColorItem.setActionCommand(LineColorCommand);
lineColorItem.addActionListener(this);
interString = i18n.get(DrawingAttributes.class,
"lineColorItem",
I18n.TOOLTIP,
"Change edge color for rendering.");
lineColorItem.setToolTipText(interString);
}
if (fillColorItem != null) {
// fillColorButton.setIcon(getIconForPaint(getFillPaint(), true));
} else {
// fillColorButton = new JButton(getIconForPaint(getFillPaint(),
// true));
interString = i18n.get(DrawingAttributes.class,
"fillColorItem",
"Change Fill Color");
fillColorItem = new JMenuItem(interString);
fillColorItem.setActionCommand(FillColorCommand);
fillColorItem.addActionListener(this);
interString = i18n.get(DrawingAttributes.class,
"fillColorItem",
I18n.TOOLTIP,
"Change fill color for rendering.");
fillColorItem.setToolTipText(interString);
}
if (selectColorItem != null) {
// selectColorButton.setIcon(getIconForPaint(getSelectPaint(),
// false));
} else {
// selectColorButton = new JButton(getIconForPaint(getSelectPaint(),
// false));
interString = i18n.get(DrawingAttributes.class,
"selectColorItem",
"Change Highlight Edge Color");
selectColorItem = new JMenuItem(interString);
selectColorItem.setActionCommand(SelectColorCommand);
selectColorItem.addActionListener(this);
interString = i18n.get(DrawingAttributes.class,
"selectColorItem",
I18n.TOOLTIP,
"Change highlight edge color rendered during selection.");
selectColorItem.setToolTipText(interString);
}
if (mattingColorItem != null) {
// mattingColorButton.setIcon(getMattingIconForPaint());
} else {
// mattingColorButton = new JButton(getMattingIconForPaint());
interString = i18n.get(DrawingAttributes.class,
"mattingColorItem",
"Change Matted Edge Color");
mattingColorItem = new JMenuItem(interString);
mattingColorItem.setActionCommand(MattingColorCommand);
mattingColorItem.addActionListener(this);
interString = i18n.get(DrawingAttributes.class,
"mattingColorItem",
I18n.TOOLTIP,