1
2 package org.catacomb.druid.swing;
3
4
5 import java.awt.Color;
6 import java.awt.GridLayout;
7
8 import javax.swing.JPanel;
9 import javax.swing.JTree;
10
11 public class DTreePanel extends JPanel {
12 static final long serialVersionUID = 1001;
13
14 JTree jTree;
15
16 public DTreePanel(String s) {
17 super();
18
19 Color col = LAF.getBackgroundColor();
20
21
22
23 setBackground(col);
24
25 jTree = new JTree();
26 setLayout(new GridLayout(1, 1));
27 add(jTree);
28
29
30 }
31
32
33
34
35
36
37
38
39
40
41
42
43 }