@Override
		public void setBounds(int x, int y, int width, int height)
			{
				boolean wasResizable = this.isResizable();
				setResizable(true);
				super.setBounds(x, y, width, height);
				TCode.frameWidth = this.getWidth();
				TCode.frameHeight = this.getHeight();
				TCode.canvasWidth = (getWidth() - getInsets().left) - getInsets().right;
				TCode.canvasHeight = (getHeight() - getInsets().top) - getInsets().bottom;
				setResizable(wasResizable);
			}