3 The file is used to create tree view sections
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 package org
.tianocore
.frameworkwizard
.platform
.ui
;
16 import java
.awt
.GridLayout
;
18 import javax
.swing
.JPanel
;
19 import javax
.swing
.JTree
;
20 import javax
.swing
.tree
.DefaultMutableTreeNode
;
21 import javax
.swing
.tree
.DefaultTreeModel
;
24 public class DynamicTree
extends JPanel
{
28 private static final long serialVersionUID
= 1L;
29 protected DefaultMutableTreeNode rootNode
;
30 protected DefaultTreeModel treeModel
;
33 public DynamicTree() {
34 super(new GridLayout(1,0));