Action drawSmallAction = new AbstractAction("Small") {
private static final long serialVersionUID = 1L;
public void actionPerformed(ActionEvent event) {
// action code goes here
dCst = new DrawSmall();
changeSize();
}
};
sizeMenu.add(drawSmallAction);