質問編集履歴
1
一部変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,8 +27,6 @@
|
|
27
27
|
lb2 = new JLabel(ic2);
|
28
28
|
lb1.setText("犬");
|
29
29
|
lb2.setText("猫");
|
30
|
-
f.getContentPane().add(lb1);
|
31
|
-
f.getContentPane().add(lb2);
|
32
30
|
p1 = new JPanel();
|
33
31
|
p2 = new JPanel();
|
34
32
|
p1.add(lb1);
|
@@ -38,6 +36,7 @@
|
|
38
36
|
f.setVisible(true);
|
39
37
|
}
|
40
38
|
}
|
39
|
+
|
41
40
|
```
|
42
41
|
#実行結果
|
43
42
|

|