swing is not thread safe.  This might cause problems...