@Override
		public void componentResized(ComponentEvent e)
			{
				if (TCode.FORCE_SINGLE_THREAD)
					threadSafeComponentEvents.offer(e);
				else
					{
						TCode.frameWidth = TCode.frame.getWidth();
						TCode.frameHeight = TCode.frame.getHeight();
						TCode.canvasWidth = TCode.frame.getWidth() - TCode.frame.getInsets().left - TCode.frame.getInsets().right;
						TCode.canvasHeight = TCode.frame.getHeight() - TCode.frame.getInsets().top - TCode.frame.getInsets().bottom;

						if (TCode.renderer.getRenderableObject() != null)
							TCode.renderer.getRenderableObject().componentResized(e);
					}
			}