質問編集履歴
2
ご指導通り修正済
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
|
56
56
|
|
57
|
-
this.addWindowListener
|
57
|
+
this.addWindowListener ( // ここがエラー箇所です.修正済
|
58
58
|
|
59
59
|
new WindowAdapter() {
|
60
60
|
|
@@ -64,15 +64,23 @@
|
|
64
64
|
|
65
65
|
System.out.println("終了します。");
|
66
66
|
|
67
|
-
|
67
|
+
System.exit(0);
|
68
68
|
|
69
69
|
}
|
70
70
|
|
71
|
-
}
|
71
|
+
} //修正済
|
72
72
|
|
73
|
-
|
73
|
+
); //修正済
|
74
74
|
|
75
75
|
this.setVisible(true);
|
76
|
+
|
77
|
+
}
|
78
|
+
|
79
|
+
// 追加、本にはここが省略されていたりしていて、初心者には練習しずらいです。絶版みたい
|
80
|
+
|
81
|
+
public static void main(String[] args) {
|
82
|
+
|
83
|
+
new SampleApp3_10();
|
76
84
|
|
77
85
|
}
|
78
86
|
|
1
EclipseからJavaに変更
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|