code: public void setText(String text)
    {
  /*  	try
    	{
  
      //System.out.println("TuneEditorPane - setText(" + text  + ")");
      DefaultStyledDocument doc = new DefaultStyledDocument();
      doc.insertString(0,text,m_defaultStyle);
      m_refresher.setDocument(doc);
      this.setDocument(doc);
      }
        catch (Exception e)
        { e.printStackTrace();
        }*/
  
      try
      {
      	m_refresher.stopIt();
         	getDocument().remove(0,getDocument().getLength()/*-1*/);
      	getDocument().insertString(0,text,m_defaultStyle);
      	m_refresher.startIt();
      }
      catch (Exception e)
      {e.printStackTrace();
      }
      //super.setText(text);
      //m_tuneParser.parse(text);
    }
docs: /*public void setDocument(Document doc)
  {
  System.out.println("TuneEditorPane - setDocument(" + doc  + ")");
  m_forceRefresh = true;
  super.setDocument(doc);
  if (m_refresher!=null)
  {
  setCharacterAttributes(m_defaultStyle, true);
  m_refresher.setDocument((DefaultStyledDocument)doc);
  }
  }