displayDescription(modelTree.getSelectionPath().getLastPathComponent());
if (modelTree.getSelectionPath() != null) displayDescription(modelTree.getSelectionPath().getLastPathComponent());
    public ModelTreePanel(Model m) {        initComponents();        modelTree.setModel( new DefaultTreeModel( new ModelTreeNode( m )));        modelTree.setSelectionInterval(0,0);        displayDescription(modelTree.getSelectionPath().getLastPathComponent());        SplitPanel.setDividerLocation(175);        CustomTreeRenderer render = new CustomTreeRenderer();        modelTree.setCellRenderer(render);        /*        if((m.getDescription()!=null)&&(m.getDescription()!=""))        {            DescriptionArea.setText(m.getDescription());        }        else        {            DescriptionArea.setText("No Description");        }*/    }