public void actionPerformed(ActionEvent event) 
	{
		JMenuItem menuItem = (JMenuItem)event.getSource();
		if(menuItem.getName().equals("editShapeItem"))
		{
			EditDialog edit = new EditDialog(this, manager);
			edit.setSize(450, 175);
			edit.setEnabled(true);
			edit.setVisible(true);
		}
		else if(menuItem.getName().equals("deleteShapeItem"))
		{

			DeleteDialog delete = new DeleteDialog(this, manager);
			delete.setSize(300, 150);
			delete.setVisible(true);
		}
		else if(menuItem.getName().equals("createShapeItem"))
		{
			CreateDialog od = new CreateDialog(this, manager);
			od.setSize(450,225);
			od.setEnabled(true);
			od.setVisible(true);
		}
		else if(menuItem.getName().equals("zoomInItem"))
		{
			
		}
		else if(menuItem.getName().equals("zoomOutItem"))
		{
			
		}
		else if(menuItem.getName().equals("applyOperatorItem"))
		{
			ApplyOperatorDialog od = new ApplyOperatorDialog(this, manager);
			od.setSize(450,225);
			od.setEnabled(true);
			od.setVisible(true);
		}
		
		else if(menuItem.getName().equals("resetItem"))
		{
			setShapes(manager.getJShapes());
		}
		
		repaint();
	}