mfInstance.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
mfInstance.addWindowListener(new MainFrameWindowAdapter(mfInstance));
}
//Instantiate ConstructionProcedure - used as an edit listener
constructProcedure = new ConstructionProcedure(mfInstance);
//Create and set up the content pane
mfInstance.createMenuBar(); //also initializes & registers the MenuActions
drawPanel = new DrawingPanel(mfInstance, objects, mechanism);
mfInstance.setContentPane(drawPanel);