colorItem.addActionListener(new PopupMenuHandler());
colorItem.addActionListener(al);
public Vector getItems(){	Vector items = new Vector();	JMenuItem colorItem = new JMenuItem(colorString);	colorItem.addActionListener(new PopupMenuHandler());	items.addElement(colorItem);	JCheckBoxMenuItem isDashedItem = new JCheckBoxMenuItem(isDashedString);	isDashedItem.setSelected(isDashed);	isDashedItem.addActionListener(new PopupMenuHandler());	items.addElement(isDashedItem);	return items;}