public void setPowerType(String powerType)
	{
		this.powerType = powerType;
		switch(powerType)
		{
		case "At-Will":
			try {
				System.out.println("hi");
				this.powerTypeImage = ImageIO.read(new File("img/atwill.png"));
			} catch (IOException e) {
			}
			if(actionType != null)
			{
				switch(actionType)
				{
				case "Standard Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/standardatwill.png"));
					} catch (IOException e) {
					}
					break;
				case "Minor Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/minoratwill.png"));
					} catch (IOException e) {
					}
					break;
				case "Immediate Interrupt":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/immediateatwill.png"));
					} catch (IOException e) {
					}
					break;
				case "Free Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/freeatwill.png"));
					} catch (IOException e) {
					}
					break;
				case "No Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/freeatwill.png"));
					} catch (IOException e) {
					}
					break;
				}
				break;
			}
			break;
		case "Encounter":
			try {
				this.powerTypeImage = ImageIO.read(new File("img/encounter.png"));
			} catch (IOException e) {
			}
			if(actionType != null)
			{
				switch(actionType)
				{
				case "Standard Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/standardencounter.png"));
					} catch (IOException e) {
					}
					break;
				case "Minor Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/minorencounter.png"));
					} catch (IOException e) {
					}
					break;
				case "Immediate Interrupt":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/immediateencounter.png"));
					} catch (IOException e) {
					}
					break;
				case "Free Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/freeencounter.png"));
					} catch (IOException e) {
					}
					break;
				case "No Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/freeencounter.png"));
					} catch (IOException e) {
					}
					break;
				}
				break;
			}
			break;
		case "Daily":
			try {
				System.out.println("dfkj");
				this.powerTypeImage = ImageIO.read(new File("img/daily.png"));
			} catch (IOException e) {
			}
			if(actionType != null)
			{
				switch(actionType)
				{
				case "Standard Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/standarddaily.png"));
					} catch (IOException e) {
					}
					break;
				case "Minor Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/minordaily.png"));
					} catch (IOException e) {
					}
					break;
				case "Immediate Interrupt":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/immediatedaily.png"));
					} catch (IOException e) {
					}
					break;
				case "Free Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/freedaily.png"));
					} catch (IOException e) {
					}
					break;
				case "No Action":
					try {
						this.actionTypeImage = ImageIO.read(new File("img/freedaily.png"));
					} catch (IOException e) {
					}
					break;
				}
			break;
			}
		break;
		}
	}