Class ConwaysGameOfLiveCanvas

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.woehlke.computer.kurzweil.conwaysgameoflive.view.canvas.ConwaysGameOfLiveCanvas
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class ConwaysGameOfLiveCanvas extends JComponent
View for the World Data Model for Displaying Food and Bacteria Cells. © 2006 - 2008 Thomas Woehlke.
Author:
Thomas Woehlke
See Also:
  • Constructor Details

  • Method Details

    • paint

      public void paint(Graphics g)
      Paint the World on the Canvas and show Food and Bacteria Cells.
      Overrides:
      paint in class JComponent
      Parameters:
      g - Graphics Context with the Tools for Painting.
    • update

      public void update(Graphics g)
      Overrides:
      update in class JComponent