public void setModel(Model m) throws Exception {
public void setModel(Item m) throws Exception {
    public void setModel(Model m) throws Exception {        javax.swing.JTree t = (javax.swing.JTree) getJavaObject();        if (t != null) {            if (m != null) {                t.setModel(new javax.swing.tree.DefaultTreeModel((javax.swing.tree.DefaultMutableTreeNode) m.getJavaTreeNode()));            } else {                throw new Exception("Could not set model. The model is null.");            }        } else {            throw new Exception("Could not set model. The java tree node is null.");        }    }