aboutsummaryrefslogtreecommitdiff
path: root/Week11 Mandelbrot/src/fractals/GridView.java
diff options
context:
space:
mode:
authorCamil Staps2015-04-30 17:21:10 +0200
committerCamil Staps2015-04-30 17:21:10 +0200
commit5a1660059cead6b226c14dcfe6e1c83611734b32 (patch)
tree6e0e5aefeb65de44f4e12226c4a4df00b16aa842 /Week11 Mandelbrot/src/fractals/GridView.java
parentCleaned up; javadoc (diff)
More cleanup; licensing
Diffstat (limited to 'Week11 Mandelbrot/src/fractals/GridView.java')
-rw-r--r--Week11 Mandelbrot/src/fractals/GridView.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/Week11 Mandelbrot/src/fractals/GridView.java b/Week11 Mandelbrot/src/fractals/GridView.java
index d85dc6e..b14659c 100644
--- a/Week11 Mandelbrot/src/fractals/GridView.java
+++ b/Week11 Mandelbrot/src/fractals/GridView.java
@@ -8,21 +8,16 @@ import java.awt.image.WritableRaster;
import javax.swing.JPanel;
/**
- *
+ * An implementation of the Grid interface
* @author Sjaak Smetsers
* @version 1.1 --- 14-03-2013
*/
-/**
- * An implementation of the Grid interface
- *
- * @author Sjaak
- */
public class GridView extends JPanel implements Grid {
- private BufferedImage gridImage;
- private WritableRaster gridRaster;
+ private final BufferedImage gridImage;
+ private final WritableRaster gridRaster;
- private int gridWidth, gridHeight;
+ private final int gridWidth, gridHeight;
private static final int REPAINT_NUMBER = 2000;