}
private void setMainView(boolean activate) {
if (mainView != null)
remove(mainView); // any previous
mainView = new MainView();
mainView.setBorder(null);
setLayout(new GridLayout(1,1)); // fill up all of the space always
add(mainView);
// toolBarListener = new ToolBarListener();