aboutsummaryrefslogtreecommitdiffstats
path: root/docs/teaching/exercises/figures/FigureElement.java
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-08-27 20:35:31 +0000
committerjhugunin <jhugunin>2003-08-27 20:35:31 +0000
commite81b7e76f0df1119ee8663e9960d53d71a61a243 (patch)
treedf74946b8dbdd8c30cc33fbe3af8cb0fb2076add /docs/teaching/exercises/figures/FigureElement.java
parent9ae0cfecd5fa4cc15c30c2231ba5b7de2a86e882 (diff)
downloadaspectj-e81b7e76f0df1119ee8663e9960d53d71a61a243.tar.gz
aspectj-e81b7e76f0df1119ee8663e9960d53d71a61a243.zip
revised section 4 (untested)
Diffstat (limited to 'docs/teaching/exercises/figures/FigureElement.java')
-rw-r--r--docs/teaching/exercises/figures/FigureElement.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/teaching/exercises/figures/FigureElement.java b/docs/teaching/exercises/figures/FigureElement.java
index 22bb579a9..26cbed272 100644
--- a/docs/teaching/exercises/figures/FigureElement.java
+++ b/docs/teaching/exercises/figures/FigureElement.java
@@ -17,8 +17,8 @@ import java.awt.*;
import java.awt.geom.*;
public interface FigureElement {
- public static final int MIN_VALUE = 0;
- public static final int MAX_VALUE = 500;
+ public static final Rectangle MAX_BOUNDS =
+ new Rectangle(0, 0, 500, 500);
public abstract void move(int dx, int dy);