@Override
		public final void render(Graphics g)
			{
				if (hub.DEBUG)
					{
						g.setColor(Color.DARK_GRAY);
						g.drawRect((int) Math.round(x), (int) Math.round(y), (int) Math.round(width), (int) Math.round(height));
					}

				Graphics2D g2d = (Graphics2D) image.get().getGraphics();

				g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.CLEAR, 0.0f));
				g2d.fill(new Rectangle2D.Double(0, 0, width, height));
				g2d.dispose();

				Graphics menuGraphics = image.get().getGraphics();

				menuGraphics.setColor(backgroundColour);
				if (orientation == VERTICAL)
					menuGraphics.fillRect(0, 0, (int) Math.round(width - (usingScrollBar ? 25 : 0)), (int) Math.round(height));
				else if (orientation == HORIZONTAL)
					menuGraphics.fillRect(0, 0, (int) Math.round(width), (int) Math.round(height - (usingScrollBar ? 25 : 0)));

				for (TButton button : getTButtons())
					button.render(menuGraphics);

				menuGraphics.dispose();

				g.drawImage(image.get(), (int) Math.round(x), (int) Math.round(y), hub.renderer);
			}