KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > helloworld > model > HwTreeModel


1 /*******************************************************************************
2  * Copyright (c) 2004, Dirk von der Weiden.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * Dirk von der Weiden - initial API and implementation
10  *
11  * Created on 22.02.2005
12  *
13  * date: 22.02.2005
14  * project: WiSer-HelloWorld
15  *
16  * *******************************************************************************/

17
18 package helloworld.model;
19
20 import javax.swing.tree.*;
21
22 /**
23  * @author Dirk
24  *
25  * date: 22.02.2005
26  *
27  * <p>
28  * Purpose: Simple tree model
29  * </p>
30  */

31 public class HwTreeModel extends DefaultTreeModel
32 {
33     public HwTreeModel()
34     {
35         super(new DefaultMutableTreeNode("rootNode"));
36     }
37 }
38
Popular Tags