// drawing area
drawingArea = new DrawingArea(board, boardState);
// pannel for the toolbar and drawing area
JPanel panel = new JPanel(new BorderLayout());
panel.add(new ToolBarBuilder().createToolBar(boardState,this),BorderLayout.NORTH);
panel.add(drawingArea, BorderLayout.CENTER);
frame.add(panel);
// menu par
frame.setJMenuBar(new MenuBuilder(this, board, boardState).create());