public void actionPerformed(ActionEvent e) {
		Object source = e.getSource();
		if (source == menuItemOpen)
			imageFileChooser();
		else if (source == openButton)
			imageFileChooser();
		else if (source == menuItemSave)
			imageFileSave();
		else if (source == saveButton)
			imageFileSave();
		else if (source == menuItemExit)
			System.exit(0);
		else if (source == menuItemBokehTest)
			imageBokehTest();
		else if (source == menuItemGaussianFilterForGoogleCamera)
			imageBlurWithDepth();
		else if (source == menuItemGetDepthMapFromGoogleCamera)
			imageDepthMapRetrieve();
		else if (source == menuItemGaussianFilter)
			imageGaussianBlurring();
		else if (source == menuItemLensBlurFilter)
			imageLensBlurring();
		else if (source == menuItemGrayscale)
			imageGrayscale();
		else if (source == menuItemInvert)
			imageInvert();
		else if (source == menuItemBrightness)
			imageBrightness();
		else if (source == menuItemPreservingPartColor)
			preservingPartColor();
		else if (source == menuItemRandomPixelMovement)
			randomPixelMovement();
		else if (source == menuItemSpinning)
			spinning();
		else if (source == menuItemPinching)
			pinching();
		else if (source == menuItemPixelate)
			pixelate();
		else if (source == menuItemConvertToASCII)
			imageToASCII();
		else if (source == menuItemUndo)
			imageUndo();
		else if (source == undoButton)
			imageUndo();
		else if (source == menuItemRedo)
			imageRedo();
		else if (source == redoButton)
			imageRedo();
		else if (source == menuItemAbout) {
			AboutDialog ad = new AboutDialog(this);
			ad.setVisible(true);
		} else {
			String str = "";
			if (source == menuItemMetal)
				str = "javax.swing.plaf.metal.MetalLookAndFeel";
			else if (source == menuItemMotif)
				str = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
			else if (source == menuItemWindows)
				str = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";

			try {
				UIManager.setLookAndFeel(str);
				SwingUtilities.updateComponentTreeUI(this);
			} catch (Exception exception) {
			}
		}
		repaint();
	}