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()) ; }
    public void displayDescription()    {        String Description="";        try{        Object p =modelTree.getSelectionPath().getLastPathComponent();        if (p instanceof AbstractDescriptionNode){            AbstractDescriptionNode ADN = (AbstractDescriptionNode)p;            Description = ADN.getDescription();        }        if(Description==""){            Description="No Description";        }        DescriptionArea.setText(Description);        }        catch(NullPointerException e)        {}    }