Lines Matching refs:DefaultMutableTreeNode
502 DefaultMutableTreeNode root = new DefaultMutableTreeNode("JTree");
503 DefaultMutableTreeNode parent;
505 parent = new DefaultMutableTreeNode("colors");
507 parent.add(new DefaultMutableTreeNode("blue"));
508 parent.add(new DefaultMutableTreeNode("violet"));
509 parent.add(new DefaultMutableTreeNode("red"));
510 parent.add(new DefaultMutableTreeNode("yellow"));
512 parent = new DefaultMutableTreeNode("sports");
514 parent.add(new DefaultMutableTreeNode("basketball"));
515 parent.add(new DefaultMutableTreeNode("soccer"));
516 parent.add(new DefaultMutableTreeNode("football"));
517 parent.add(new DefaultMutableTreeNode("hockey"));
519 parent = new DefaultMutableTreeNode("food");
521 parent.add(new DefaultMutableTreeNode("hot dogs"));
522 parent.add(new DefaultMutableTreeNode("pizza"));
523 parent.add(new DefaultMutableTreeNode("ravioli"));
524 parent.add(new DefaultMutableTreeNode("bananas"));
543 DefaultMutableTreeNode root;
547 root = new DefaultMutableTreeNode("root");
3864 public static class DynamicUtilTreeNode extends DefaultMutableTreeNode {
3882 public static void createChildren(DefaultMutableTreeNode parent,