@Override
	public void actionPerformed(ActionEvent e) {
		
		switch(e.getActionCommand()){
			case ("BeadImage"):
				if (this.image_loader.getFilePath().isEmpty()) {
					JOptionPane.showMessageDialog(this, "No Image has been loaded",
							"Error", JOptionPane.ERROR_MESSAGE);
		
				} else {
					BufferedImage image = (this.settings_panel.needResizing())? this.image_loader.getScaledImage(this.settings_panel.getResizeSize()) :
										   this.image_loader.getImage();
		
					this.result_panel.generatePattern(image,
													  this.pallete, 
													  this.settings_panel.getTextSize());
				}
			break;
			
			case("About"):
				String text= "Image Beader \n"
						   + "The open source perler image beading program. \n\n"
						   + "Copyright (C) 2014 Alfredo Giscombe (mrpnut08) \n"
						   + "This program is free software: you can redistribute it and/or modify\n"
						   + "it under the terms of the GNU General Public License as published by\n"
						   + "the Free Software Foundation, either version 3 of the License, or\n"
						   + "(at your option) any later version.";
			
				JOptionPane.showMessageDialog(this, text, "About Image Beader", JOptionPane.INFORMATION_MESSAGE);
			break;
			
			case ("Exit"):
				this.dispose();
		}
	}