Search in sources :

Example 1 with DisplayPanel

use of edu.mit.d54.DisplayPanel in project d54 by mitrisdev.

the class TestRunner method main.

public static void main(String[] args) {
    Display2D display = new GBDisplay();
    JFrame frame = new JFrame("test");
    DisplayPanel dPanel = new DisplayPanel(display);
    frame.add(dPanel);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setVisible(true);
    TestPlugin plugin = new TestPlugin(display, 15);
    plugin.start();
}
Also used : Display2D(edu.mit.d54.Display2D) GBDisplay(edu.mit.d54.GBDisplay) DisplayPanel(edu.mit.d54.DisplayPanel) JFrame(javax.swing.JFrame)

Aggregations

Display2D (edu.mit.d54.Display2D)1 DisplayPanel (edu.mit.d54.DisplayPanel)1 GBDisplay (edu.mit.d54.GBDisplay)1 JFrame (javax.swing.JFrame)1