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());
// and finally make it visible
frame.setVisible(true);
}