ketPanel.setTransferHandler(ketTransfer);
toolBarEventHandler = new ToolBarEventHandler(document);
String edge = ToolBarEventHandler.HORIZONAL_TOOLBAR_AXIS?BorderLayout.PAGE_START:BorderLayout.WEST;
add(toolBarEventHandler.getToolBar(), edge);
add(ketPanel, BorderLayout.CENTER);
KetFrameListener ketFrameListener = new KetFrameListener(document);
addWindowListener(ketFrameListener); // ZZ or ZQ
menuEventHandler = new MenuEventHandler(document);
refreshMenuBar();
}