add comments 1
This commit is contained in:
parent
4dacc0f19c
commit
3875069d47
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user