Container host = getContainer(); if (host != null) { preferenceChanged(null, true, true); host.repaint(); } } finally { if (doc instanceof AbstractDocument) ((AbstractDocument) doc).readUnlock(); }
         public void run()    {           setParentImpl();         }