public int getMethod() {
		if (buttonGroup.getSelection().getActionCommand().equals("A"))
			return 1;// DESX
		if (buttonGroup.getSelection().getActionCommand().equals("B"))
			return 2;// Knapsack
		else
			return 3;// AA
	}