回答編集履歴
1
2つのパネルの Layout を無効化
test
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
|
117
117
|
|
118
118
|
|
119
|
-
JPanel panel = new JPanel();
|
119
|
+
JPanel panel = new JPanel(null);
|
120
120
|
|
121
121
|
|
122
122
|
|
@@ -196,7 +196,7 @@
|
|
196
196
|
|
197
197
|
JLabel title = new JLabel("トランプコレクション");
|
198
198
|
|
199
|
-
JPanel panel=new JPanel();
|
199
|
+
JPanel panel=new JPanel(null);
|
200
200
|
|
201
201
|
JButton button=new JButton();
|
202
202
|
|