|
|
@ -11,10 +11,10 @@ public class CancerGrowth extends javax.swing.JFrame
|
|
|
|
public CancerGrowth(String s)
|
|
|
|
public CancerGrowth(String s)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
super(s);
|
|
|
|
super(s);
|
|
|
|
super.setContentPane(new CellPanel());
|
|
|
|
super.setContentPane(new CellPanel()); // Create the window using CellPanel.class
|
|
|
|
super.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
|
|
|
|
super.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE); // Have the window close when you press the X
|
|
|
|
super.setLocation(50, 50);
|
|
|
|
super.setLocation(50, 50);
|
|
|
|
super.setResizable(false);
|
|
|
|
super.setResizable(false); // Disable resizing
|
|
|
|
super.pack();
|
|
|
|
super.pack();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|