if (p instanceof AbstractDescriptionNode){ AbstractDescriptionNode ADN = (AbstractDescriptionNode)p;  doc = ADN.getStyledDocument();  try { descriptionArea.getDocument().remove ( 0 , descriptionArea.getDocument().getLength() ) ; for ( int i = 0 ; i < doc.getLength() ; i++ ) { descriptionArea.getDocument().insertString(descriptionArea.getDocument().getLength() ,doc.getStyledElement(i).getContent() + "\n", doc.getStyledElement(i).getAttributeSet()) ;
if (p instanceof AbstractDescriptionNode){ AbstractDescriptionNode ADN = (AbstractDescriptionNode)p;  doc = ADN.getStyledDocument();  try { descriptionArea.getDocument().remove( 0 , descriptionArea.getDocument().getLength() ) ; for ( int i = 0 ; i < doc.getLength() ; i++ ) { descriptionArea.getDocument().insertString(descriptionArea.getDocument().getLength() ,doc.getStyledElement(i).getContent() + "\n", doc.getStyledElement(i).getAttributeSet()) ; } }  catch(Exception e) {}
    public void displayDescription(Object p)    {        StyledDocument doc = null ;        try{                if (p instanceof AbstractDescriptionNode){            AbstractDescriptionNode ADN = (AbstractDescriptionNode)p;            //Description = ADN.getDescription();            doc = ADN.getStyledDocument();                               try {                        descriptionArea.getDocument().remove ( 0 , descriptionArea.getDocument().getLength() ) ;             for ( int i = 0 ; i < doc.getLength() ; i++ ) {                descriptionArea.getDocument().insertString(descriptionArea.getDocument().getLength() ,doc.getStyledElement(i).getContent() + "\n", doc.getStyledElement(i).getAttributeSet()) ;            }        }                catch(Exception e) {}        }        }//        descriptionArea.setText(Description);                catch(NullPointerException e)        {}            }