1   package interfaces;
2   
3   import javax.swing.*;
4   import java.awt.*;
5   
6   /**
7   * Interface class for all SimDisplays
8   *
9   * @author Graham Ritchie
10  */
11  public abstract class SimDisplay extends JPanel
12  {
13      /**
14      * Main repaint method. This mathod is called whenever SimUI calls this
15      * SimDisplay's repaint methods It must repaint this SimDisplay's JPanel.
16      */
17      public void paintComponent(Graphics g)
18      {
19          super.paintComponent(g);
20      }
21      
22  }
23