private void button1ActionPerformed(ActionEvent e) {
		if(unfRAD.isSelected()) {
			Variables.whatToDo = 2;
			Variables.chosen = unfBox.getSelectedItem().toString();
			
			switch(Variables.chosen) {
			case "Ranarr Unf":
				Variables.unfPot = UnfPotion.RANARR;
				break;
			case "Toadflax Unf":
				Variables.unfPot = UnfPotion.TOADFLAX;
				break;
			case "Spiritweed Unf":
				Variables.unfPot = UnfPotion.SPIRITWEED;
				break;
			case "Cadantine Unf":
				Variables.unfPot = UnfPotion.CADANTINE;
				break;
			default: //default is ranarr
				Variables.unfPot = UnfPotion.RANARR;
			}
		}
		else if(potionRAD.isSelected()) {
			Variables.whatToDo = 1;
			Variables.chosen = comboBox1.getSelectedItem().toString();
			
			switch(Variables.chosen) {
			case "Attack Potion":
				Variables.pot = Potion.ATTACKPOTION;
				break;
			case "Ranging Potion":
				Variables.pot = Potion.RANGINGPOTION;
				break;
			case "Strength Potion" :
				Variables.pot = Potion.STREGNTHPOTION;
				break;
			case "Magic Potion":
				Variables.pot = Potion.MAGICPOTION;
				break;
			case "Defence Potion":
				Variables.pot = Potion.DEFENCEPOTION;
				break;
			case "Anti-poison Potion":
				Variables.pot = Potion.ANTIPOISONPOTION;
				break;
			case "Prayer Potion":
				Variables.pot = Potion.PRAYERPOTION;
				break;
			case "Super Attack Potion":
				Variables.pot = Potion.SUPERATTACKPOTION;
				break;
			case "Super Strength Potion":
				Variables.pot = Potion.SUPERSTRENGTHPOTION;
				break;
			case "Super Restore Potion":
				Variables.pot = Potion.SUPERRESTOREPOTION;
				break;
			case "Super Defence Potion":
				Variables.pot = Potion.SUPERDEFENCEPOTION;
				break;
			case "Super Ranging Potion":
				Variables.pot = Potion.SUPERRANGINGPOTION;
				break;
			case "Super Magic Potion":
				Variables.pot = Potion.SUPERMAGICPOTION;
				break;
			case "Zamorak Brew Potion":
				Variables.pot = Potion.ZAMORAKBREWPOTION;
				break;
			case "Saradomin Brew Potion":
				Variables.pot = Potion.SARADOMINBREWPOTION;
				break;
			}
		}
		
		else if(grimyRAD.isSelected()){
			Variables.whatToDo = 3;
			Variables.chosen = comboBox2.getSelectedItem().toString();
			
			switch (Variables.chosen) {
			
			case "Guam":
				Variables.grimy = Grimy.GUAM;
				break;
			case "Marrentill":
				Variables.grimy = Grimy.MARRENTILL;
				break;
			case "Tarromin":
				Variables.grimy = Grimy.TARROMIN;
				break;
			case "Harralander":
				Variables.grimy = Grimy.HARRALANDER;
				break;
			case "Ranarr":
				Variables.grimy = Grimy.RANARR;
				break;
			case "Toadflax":
				Variables.grimy = Grimy.TOADFLAX;
				break;
			case "Spiritweed":
				Variables.grimy = Grimy.SPIRITWEED;
				break;
			case "Irit":
				Variables.grimy = Grimy.IRIT;
				break;	
			case "Avantoe":
				Variables.grimy = Grimy.AVANTOE;
				break;
			case "Kwuarm":
				Variables.grimy = Grimy.KWUARM;
				break;
			case "Snapdragon":
				Variables.grimy = Grimy.SNAPDRAGON;
				break;
			case "Cadantine":
				Variables.grimy = Grimy.CADANTINE;
				break;
			case "Lantadyme":
				Variables.grimy = Grimy.LANTADYME;
				break;
			case "Dwarfweed":
				Variables.grimy = Grimy.DWARFWEED;
				break;
			case "Torstol":
				Variables.grimy = Grimy.TORSTOL;
				break;
			case "Fellstalk":
				Variables.grimy = Grimy.FELLSTALK;
				break;
			}			
		}	
			

		
		Variables.guiWait = false;
		dispose();

	}