Search in sources :

Example 1 with ToolBar

use of cbit.vcell.microscopy.gui.ToolBar in project vcell by virtualcell.

the class VirtualFrapBatchRunFrame method initiateComponents.

/**
 * Initiation of the UI components that is shown in the main window
 */
protected void initiateComponents() {
    toolBar = new ToolBar();
    ToolBarHandler th = new ToolBarHandler();
    toolBar.addToolBarHandler(th);
    mb = new JMenuBar();
    // System.setProperty(PropertyLoader.primarySimDataDirProperty, localWorkspace.getDefaultWorkspaceDirectory());
    // System.setProperty(PropertyLoader.secondarySimDataDirProperty, localWorkspace.getDefaultWorkspaceDirectory());
    System.setProperty(PropertyLoader.exportBaseDirInternalProperty, localWorkspace.getDefaultSimDataDirectory());
    System.setProperty(PropertyLoader.exportBaseURLProperty, "file://" + localWorkspace.getDefaultSimDataDirectory());
    // add components to the main frame
    getContentPane().setLayout(new BorderLayout());
    getContentPane().add(toolBar, BorderLayout.NORTH);
    getContentPane().add(statusBarNew, BorderLayout.SOUTH);
    getContentPane().add(getMainSplitPane());
}
Also used : BorderLayout(java.awt.BorderLayout) ToolBar(cbit.vcell.microscopy.gui.ToolBar) JMenuBar(javax.swing.JMenuBar)

Aggregations

ToolBar (cbit.vcell.microscopy.gui.ToolBar)1 BorderLayout (java.awt.BorderLayout)1 JMenuBar (javax.swing.JMenuBar)1