質問編集履歴
2
説明文の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -104,7 +104,7 @@
|
|
104
104
|
|
105
105
|
System.out.println("1");//確認用
|
106
106
|
|
107
|
-
paintComponents(color);
|
107
|
+
158行目 → paintComponents(color);
|
108
108
|
|
109
109
|
System.out.println("2");//確認用
|
110
110
|
|
@@ -204,7 +204,7 @@
|
|
204
204
|
|
205
205
|
color[35] = new Color(imagehairetu[3].getRGB(x[8], y[8]));
|
206
206
|
|
207
|
-
g.setColor(color[8]);
|
207
|
+
210行目 → g.setColor(color[8]);
|
208
208
|
|
209
209
|
g.fillPolygon(x1, y1, 4);
|
210
210
|
|
1
説明文の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -484,8 +484,8 @@
|
|
484
484
|
|
485
485
|
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
|
486
486
|
|
487
|
-
at irohannei$1.paintComponents(irohannei.java:210)
|
487
|
+
at irohannei$1.paintComponents(irohannei.java:210) → g.setColor(color[8]);
|
488
|
-
|
488
|
+
|
489
|
-
at irohannei$1.actionPerformed(irohannei.java:158)
|
489
|
+
at irohannei$1.actionPerformed(irohannei.java:158) → paintComponents(color);
|
490
490
|
|
491
491
|
として出ます。指摘お願いします。
|