回答編集履歴
1
typo
test
CHANGED
@@ -98,6 +98,10 @@
|
|
98
98
|
|
99
99
|
Graphics2D g2 = (Graphics2D)g;
|
100
100
|
|
101
|
+
// g.drawLine(100, 100, 200, 200);
|
102
|
+
|
103
|
+
g2.draw(new Line2D.Double(100, 100, 200, 200));
|
104
|
+
|
101
105
|
|
102
106
|
|
103
107
|
```
|