public HaxagonUI() {
		Toolkit toolkit = Toolkit.getDefaultToolkit();

		Point hotSpot = new Point(0,0);
		Image cus = toolkit.getImage(getClass().getResource("Pic/iconse.png"));
		//Image curs = toolkit.getImage(getClass().getResource("Pic/Wand.png"));
		//Cursor oriCursor = toolkit.createCustomCursor(curs, hotSpot, "wand"); 
		//setCursor(oriCursor);
	     Cursor GameCursor = toolkit.createCustomCursor(cus, hotSpot, "wand");  //this command is the killer
	     startButton.setCursor(GameCursor);
	     aboutButton.setCursor(GameCursor);
	     exitButton.setCursor(GameCursor);


		 
		killBorder(startButton);
		killBorder(aboutButton);
		killBorder(exitButton);

		startButton.setRolloverIcon(startRollOverIcon);
		aboutButton.setRolloverIcon(aboutRollOverIcon);
		exitButton.setRolloverIcon(exitRollOverIcon);

		setSize(800, 600);

		createFirstTitle();

		setVisible(true);

		startButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				GameLoopState.effector.openEffect("charge.wav");
				try {
					UIManager.setLookAndFeel(UIManager
							.getSystemLookAndFeelClassName());
				} catch (Exception ex) {
					ex.printStackTrace();
				}
				popup = new PopupUI();
				popup.setVisible(true);
			}
		});
		aboutButton.addActionListener(new ActionListener() {

			public void actionPerformed(ActionEvent e) {
				GameLoopState.effector.openEffect("charge.wav");
				JOptionPane
						.showMessageDialog(
								null,
								"Created by \n5430295521 Nontawat Charoenphakdee  \n5430297821 Noppayut Sriwatanaksakdi  \n5430305121 Nawapat Mahatanarat \n5430376721 Pongsathorn Panyanithisakul \n5430560821 Wichayut Eaksarayut \n5431028521 Park Netrakom \n5431003821 Kawin Worrasangasilpa \n5431019921 Nuttapong Chairatanakul \n5431040021 Sarin Durongdamrongchai    \nDepartment of Computer Engineering\nChulalongkorn University\nYear 2557",
								"About Us", 1, CP38);

			}
		});

		exitButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				GameLoopState.effector.openEffect("charge.wav");
				String[] choices = { "Yes", "No" };
				int response = JOptionPane.showOptionDialog(null // Center in
																	// window.
						, "Are you sure you want to quit game?" // Message
						, "Confirmation" // Title in titlebar
						, JOptionPane.YES_NO_OPTION // Option type
						, JOptionPane.PLAIN_MESSAGE // messageType
						, null // Icon (none)
						, choices // Button text as above.
						, "None of your business" // Default button's label
				);
				if (response == 0){

					System.exit(0);
				}

			}
		});

	}