}
int descDir = -1; // this description direction
ButtonGroup group = new ButtonGroup();
ImageIcon ii = createArrowIcon(new BasicStroke(1), 50, 20, descDir);
JRadioButtonMenuItem button = new JRadioButtonMenuItem(ii, !doArrowHead);
button.setActionCommand(String.valueOf(descDir));
group.add(button);
button.addActionListener(listener);
arrowheadMenu.add(button);