blob: a265be656eaae9d610638608a3855431d1277ac5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package imaging.framework;
import java.awt.*;
class HierarchyAdapter extends Hierarchy
{
public HierarchyAdapter(String name, boolean root)
{
super(name, root);
}
public HierarchyAdapter(String name, Icon icon, boolean root)
{
super(name, icon, root);
}
public HierarchyAdapter(String name)
{
super(name);
}
public HierarchyAdapter(String name, Icon icon)
{
super(name, icon);
}
public void paint(Graphics g)
{
super.paint(g);
Container p = getParent().getParent();
p.getLayout ().layoutContainer (p);
}
}
|