private void render()
			{
				BufferStrategy bs = getBufferStrategy();
				if (bs == null)
					{
						createBufferStrategy(2);
						bs = getBufferStrategy();
					}

				if (bs != null)
					{
						Graphics2D g = (Graphics2D) bs.getDrawGraphics();

						currentRenderableObject.renderObject(g);

						/*
						 * This section draws the square in the top right corner of the program, it displays the frames per second, it will be grey if the
						 * window does not have focus.
						 */
						if (TCode.DEBUG)
							{
								g.setColor(TCode.renderer.isFocusOwner() ? Color.black : Color.gray);
								g.fillRect(TCode.frameWidth - 78, 0, 70, 25);

								g.setColor(Color.white);
								g.setFont(font);
								g.drawString("FPS: " + fps, TCode.frameWidth - 76, 15);
							}

						g.dispose();
						bs.show();
					}
			}