933d00ad
rlentieu
add JPaint
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import javax.swing.JPanel;
/**
* ToolBar class is a panel which holds the toolbox in it.
**/
public class ToolBar extends JPanel
{
private ToolBox toolBox;
/** Creates a default ToolBar which creates a new toolbox. **/
public ToolBar()
{
setLayout(null);
toolBox = new ToolBox();
add(toolBox);
}
}
|