@Override
	public void actionPerformed(ActionEvent e) {
		switch(e.getActionCommand()){
			case "TEXT_LARGE":
				textsize = BeadedImage.TEXT_LARGE;
				return;
			case "TEXT_SMALL":
				textsize = BeadedImage.TEXT_SMALL;
				return;
			case "TEXT_NONE":
				textsize = BeadedImage.TEXT_NONE;
				return;
			case "FULL_SIZE":
				widthfield.setEnabled(false);
				heightfield.setEnabled(false);
				return;
			case "RESIZE":
				widthfield.setEnabled(true);
				heightfield.setEnabled(true);
				return;
		}
	}