import javax.swing.JFrame;
import java.awt.event.*;
public class gui
{
   private static guipanel gp;
   public static void main(String[]args)
   {
      JFrame frame = new JFrame("Conway's Game of Life");
      frame.setSize(450, 250);
      frame.setLocation(100, 50);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      gp = new guipanel();
      frame.setContentPane(gp);
      frame.addKeyListener(new keylisten());
      frame.setVisible(true);
   }
   public static class keylisten implements KeyListener 
   {
      public void keyTyped(KeyEvent e) { }
         
      public void keyPressed(KeyEvent e) { }
   
      public void keyReleased(KeyEvent e)
      {
         gp.processkeys(e.getKeyChar());
      }
   }
}
@@ -178,28 +178,89 @@
 me(%22
-Conway's Game of Lif
+(p)wraparound, (SPACE)start/stop, (w/r)write/read file, (c)clear, (+/-)change siz
 e%22);
@@ -284,15 +284,14 @@
 ize(
-450, 25
+600,60
 0);%0A

Add controls in titlebar