public void computeMargin(Graphics2D g) {
		int width = this.getWidth();
		int height = this.getHeight();
		g.setColor(Color.decode("#111111"));

		if (width > height) {
			this.min_size = height;
			this.margin_x = (width-height)/2;
			this.margin_y = 0;
			// g.fillRect(0,0,margin_x,height);
			// g.fillRect(width-margin_x,0,margin_x,height);
		}
		else {
			this.min_size = width;
			this.margin_x = 0;
			this.margin_y = (height-width)/2;
			// g.fillRect(0,0,width,margin_y);
			// g.fillRect(0,height-margin_y,width,margin_y);
		}

	}