blob: 05e791ba6964a448d57383cd9600904e04077eb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import java.awt.Rectangle;
public class Schleife {
public static void main(String[] args) {
int margin = 25;
int box_height = 50;
int box_width = 150;
Rectangle r1 = new Rectangle(margin, margin + box_width, box_width, box_height);
GraphicsWindow gw = new GraphicsWindow();
gw.fill(r1);
// ... TODO ...
gw.setText("Klicken Sie zum Beenden.");
gw.mouseClick();
System.exit(0);
}
}
|