protected void paintComponent(Graphics maing)
	{
		ButtonModel buttonModel = getModel();
		Graphics2D g = (Graphics2D) maing.create();
		g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
		if(buttonModel.isRollover())
		{
			if(buttonModel.isPressed())
			{
				g.drawImage(image3, 0, 0, getWidth(), getHeight(), null);
			}
			else g.drawImage(image2, 0, 0, getWidth(), getHeight(), null);
		} else g.drawImage(image1, 0, 0, getWidth(), getHeight(), null);
		g.dispose();
		super.paintComponent(maing);
	}