add comments 1

This commit is contained in:
shark 2019-02-06 13:41:36 +00:00
parent 4dacc0f19c
commit 3875069d47

View File

@ -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();
} }