package cancergrowth; /* * File Name: CancerGrowth.java * Created: Oct 4, 2017 */ public class CancerGrowth extends javax.swing.JFrame { //Constructor code for the frame public CancerGrowth(String s) { super(s); super.setContentPane(new CellPanel()); // Create the window using CellPanel.class super.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE); // Have the window close when you press the X super.setLocation(50, 50); super.setResizable(false); // Disable resizing super.pack(); } // public static void main(String[] args) { javax.swing.JFrame.setDefaultLookAndFeelDecorated(false); java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new CancerGrowth("Cancer Simulation").setVisible(true); } } ); } // }