diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-17 09:09:44 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-17 09:09:44 +0100 |
commit | 58d1b5d54edf918b7084dfcf5d1c26f24be41994 (patch) | |
tree | ff577f454635eb11d4ddcd2ea742654a970b9b1d /ws2015/eip | |
parent | 58e81bad2e28286d61f097c26255bc29d72d7bee (diff) | |
download | uni-58d1b5d54edf918b7084dfcf5d1c26f24be41994.tar uni-58d1b5d54edf918b7084dfcf5d1c26f24be41994.tar.gz uni-58d1b5d54edf918b7084dfcf5d1c26f24be41994.tar.bz2 uni-58d1b5d54edf918b7084dfcf5d1c26f24be41994.tar.xz uni-58d1b5d54edf918b7084dfcf5d1c26f24be41994.zip |
Renamed class to conform with convention
Diffstat (limited to 'ws2015/eip')
-rw-r--r-- | ws2015/eip/blaetter/04/Schleife.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ws2015/eip/blaetter/04/Schleife.java b/ws2015/eip/blaetter/04/Schleife.java index 8c724b3..05e791b 100644 --- a/ws2015/eip/blaetter/04/Schleife.java +++ b/ws2015/eip/blaetter/04/Schleife.java | |||
@@ -1,13 +1,12 @@ | |||
1 | import java.awt.Rectangle; | 1 | import java.awt.Rectangle; |
2 | 2 | ||
3 | public class VorlageDemo { | 3 | public class Schleife { |
4 | 4 | ||
5 | public static void main(String[] args) { | 5 | public static void main(String[] args) { |
6 | int margin = 25; | 6 | int margin = 25; |
7 | int box_height = 50; | 7 | int box_height = 50; |
8 | int box_width = 150; | 8 | int box_width = 150; |
9 | Rectangle r1 = new Rectangle(margin, margin + box_width, | 9 | Rectangle r1 = new Rectangle(margin, margin + box_width, box_width, box_height); |
10 | box_width, box_height); | ||
11 | GraphicsWindow gw = new GraphicsWindow(); | 10 | GraphicsWindow gw = new GraphicsWindow(); |
12 | gw.fill(r1); | 11 | gw.fill(r1); |
13 | 12 | ||