密猟オンラインクライアントプログラム JAVAベース
メッセージボックスの表示時フォーカス移動の不備を修正
@@ -58,8 +58,8 @@ | ||
58 | 58 | Dimension scsz = tk.getScreenSize(); |
59 | 59 | dialog.setLocation((scsz.width - sz.width) / 2, |
60 | 60 | (scsz.height - sz.height) / 2); |
61 | + dialog.toFront(); | |
61 | 62 | dialog.setVisible(true); |
62 | - dialog.toFront(); | |
63 | 63 | return msgevent.isok(); |
64 | 64 | } |
65 | 65 |
@@ -93,8 +93,8 @@ | ||
93 | 93 | Dimension scsz = tk.getScreenSize(); |
94 | 94 | dialog.setLocation((scsz.width - sz.width) / 2, |
95 | 95 | (scsz.height - sz.height) / 2); |
96 | + dialog.toFront(); | |
96 | 97 | dialog.setVisible(true); |
97 | - dialog.toFront(); | |
98 | 98 | if (msgevent.isok() == true) { |
99 | 99 | return text.getText(); |
100 | 100 | } else { |