public SparkPopup setButtons(EnumButton buttonType) {
		this.buttons = new JButton[5];
		this.buttons[0] = new JButton("Cancel");
		this.buttons[1] = new JButton("Ok");
		this.buttons[2] = new JButton("Close");
		this.buttons[3] = new JButton("Yes");
		this.buttons[4] = new JButton("No");
		
		switch(buttonType) {
			case CANCEL_OK_OPTION:
				this.frame.addElement(this.buttons[0], new Rectangle(this.size.width / 3 - 52, this.size.height - 70, 100, 25));
				this.frame.addElement(this.buttons[1], new Rectangle(this.size.width / 3 + 52, this.size.height - 70, 100, 25));
				break;
			case CANCEL_OPTION:
				this.frame.addElement(this.buttons[0], new Rectangle(this.size.width / 2 - 50, this.size.height - 70, 100, 25));
				break;
			case CLOSE_OPTION:
				this.frame.addElement(this.buttons[2], new Rectangle(this.size.width / 2 - 50, this.size.height - 70, 100, 25));
				break;
			case OK_OPTION:
				this.frame.addElement(this.buttons[1], new Rectangle(this.size.width / 2 - 50, this.size.height - 70, 100, 25));
				break;
			case YES_NO_CANCEL_OPTION:
				this.frame.addElement(this.buttons[0], new Rectangle(this.size.width / 5 - 39, this.size.height - 70, 75, 25));
				this.frame.addElement(this.buttons[4], new Rectangle(this.size.width / 5 + 39, this.size.height - 70, 75, 25));
				this.frame.addElement(this.buttons[3], new Rectangle(this.size.width / 5 + 118, this.size.height - 70, 75, 25));
				break;
			case YES_NO_OPTION:
				this.frame.addElement(this.buttons[3], new Rectangle(this.size.width / 3 - 52, this.size.height - 70, 100, 25));
				this.frame.addElement(this.buttons[4], new Rectangle(this.size.width / 3 + 52, this.size.height - 70, 100, 25));
				break;
		}
		
		return this;
	}