private ConsoleCanvas()
		{
			
			addComponentListener(new ComponentAdapter() {
				
				
				
				@Override
				public void componentResized(ComponentEvent e) {
					//super.componentResized(e);

					int w = e.getComponent().getWidth();
					int h = e.getComponent().getHeight();
					if(w < 1) w = 1;
					if(h < 1) h = 1;


					BufferedImage newImg = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
					if(mBackBuffer != null)
					{
						Graphics g = newImg.getGraphics();
						
						if(w < mBackBuffer.getWidth()) w = mBackBuffer.getWidth();
						if(h < mBackBuffer.getHeight()) h = mBackBuffer.getHeight();
						
						g.drawImage(mBackBuffer, 0, 0, null);
					}
					mBackBuffer = newImg;	
					
				}
			});
		}