/Users/petercappello/NetBeansProjects/56-2014/56-2014-5-Gala/src/App.java |
import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
App integrates the objects comprising the Gala (Graphics Assembly LAnguage) application.
@author
public class App extends JFrame
{
private final JPanel controlPanel;
private final JScrollPane controlScrollPane;
private final GVM gvm;
App()
{
gvm = new GVM();
controlPanel = new ControlPanel( gvm );
controlScrollPane = new JScrollPane( controlPanel );
setTitle( "GIDE: Gala Integrated Development Environment" );
setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
add( controlScrollPane, BorderLayout.CENTER );
Dimension dimension = new Dimension( 600 , 800 );
setSize( dimension );
setPreferredSize( dimension );
setVisible( true );
}
Run the Gala Graphics Virtual Machine application.
@param args
public static void main( String[] args ) { App app = new App(); }
}