tree = new JXTree();
// action to expand a node and all its children
final InputMap treeInputMap = tree.getInputMap(JComponent.WHEN_FOCUSED);
treeInputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_MULTIPLY, 0), "MultPressed");
tree.getActionMap().put("MultPressed", new ExpandTreeNodeAction(tree));
GumTreeNode rootNode = new GumTreeNode("Root");
treeModel = new DefaultTreeModel(rootNode, false);
tree.setModel(treeModel);