public static JButton getAttackButton() {

		if (attackButton == null) {
			attackButton = new JButton("Attack");
			attackButton.setEnabled(false);
			attackButton.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent e) {

					if (GameData.COLLECT_ROUND == true) {
						gameLabel.setText("You have already collected!");
					} else {

						attackResultLabel1.setText("");
						attackResultLabel2.setText("");
						attackResultLabel3.setText("");
						defenceResultLabel1.setText("");
						defenceResultLabel2.setText("");

						String result = (String) destinationBox
								.getSelectedItem();
						GameData.setTargetProvince(result);

						if (RiskGame.unplacedArmies() == true) {

							gameLabel
									.setText("There are still armies to be placed!!");

						} else {

							if (GameData.CURRENT_PLAYER
									.isPlayerProvince(GameData.TARGET_PROVINCE) == true) {

								gameLabel
										.setText("You cannot attack your own province!!");

							} else if (GameData.SELECTED_PROVINCE.getArmy() == 1) {
								gameLabel
										.setText("You will need more than one army to attack!");
							} else {

								// returns 0 in case of a 'Yes' answer, 1 in
								// case of
								// a
								// 'No'
								int ATTACK_ANSWER = JOptionPane
										.showConfirmDialog(
												game,
												"Do you want to attack from "
														+ GameData.SELECTED_PROVINCE
																.getName()
														+ " to "
														+ GameData.TARGET_PROVINCE
																.getName()
														+ "?",
												"Confirm Attack",
												JOptionPane.YES_NO_OPTION);

								if (ATTACK_ANSWER == 0) {
									RiskGame.setAttack(true);

									attackResultLabel1.setIcon(null);
									attackResultLabel2.setIcon(null);
									attackResultLabel3.setIcon(null);
									defenceResultLabel1.setIcon(null);
									defenceResultLabel2.setIcon(null);

									gameLabel
											.setText("You may now select the amount of armies!");
									attackSpinner.setEnabled(true);
									defenceSpinner.setEnabled(true);
									attackThrowButton.setEnabled(true);
									defenceThrowButton.setEnabled(true);

								}
							}
						}
					}
				}
			});

			attackButton.setBounds(SCREEN_WIDTH - 300, 310, 95, 50);
		}
		return attackButton;

	}