if (t == null || t == "")
if (t == null || t.equals(""))
    public void setText(String t)    {	    try    {      // Remove the current content.      Document doc = getDocument();      doc.remove(0, doc.getLength());      if (t == null || t == "")        return;            // Let the EditorKit read the text into the Document.      getEditorKit().read(new StringReader(t), doc, 0);    }    catch (BadLocationException ble)    {      // TODO: Don't know what to do here.    }    catch (IOException ioe)    {      // TODO: Don't know what to do here.    }    }