Sam, I thought you were trying to *hide* your Console window when the  
close box was hit.  In that case I would not dispose it -- that  
effectively destroys it.  Just say:

	setVisible(false);

Sean

On Aug 1, 2011, at 11:37 AM, Sam Brett wrote:

> Alright, I went with the first option. Only thing I needed to change  
> from
> what you had is add dispose() at the end of doClose().
>
> Thanks,
> Sam