From 3875069d4702024bbd77df5514b4e4b7edc23fe3 Mon Sep 17 00:00:00 2001 From: shark Date: Wed, 6 Feb 2019 13:41:36 +0000 Subject: [PATCH] add comments 1 --- src/cancergrowth/CancerGrowth.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cancergrowth/CancerGrowth.java b/src/cancergrowth/CancerGrowth.java index be92bff..2e6e912 100644 --- a/src/cancergrowth/CancerGrowth.java +++ b/src/cancergrowth/CancerGrowth.java @@ -11,10 +11,10 @@ public class CancerGrowth extends javax.swing.JFrame public CancerGrowth(String s) { super(s); - super.setContentPane(new CellPanel()); - super.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE); + 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); + super.setResizable(false); // Disable resizing super.pack(); }