furnitureFrame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
furnitureFrame.setVisible(true);
furnitureFrame.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent ev) {
editorController.exit();
}
});
if (furnitureFrame.getJMenuBar() == null) {
installAccelerators(furnitureFrame, editorController);
}