• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

密猟オンラインクライアントプログラム JAVAベース


Commit MetaInfo

Revision17 (tree)
Zeit2016-12-23 03:06:52
Autormanjihq

Log Message

メッセージボックスの表示時フォーカス移動の不備を修正

Ändern Zusammenfassung

Diff

--- trunk/src/hunton/MesgBox.java (revision 16)
+++ trunk/src/hunton/MesgBox.java (revision 17)
@@ -58,8 +58,8 @@
5858 Dimension scsz = tk.getScreenSize();
5959 dialog.setLocation((scsz.width - sz.width) / 2,
6060 (scsz.height - sz.height) / 2);
61+ dialog.toFront();
6162 dialog.setVisible(true);
62- dialog.toFront();
6363 return msgevent.isok();
6464 }
6565
@@ -93,8 +93,8 @@
9393 Dimension scsz = tk.getScreenSize();
9494 dialog.setLocation((scsz.width - sz.width) / 2,
9595 (scsz.height - sz.height) / 2);
96+ dialog.toFront();
9697 dialog.setVisible(true);
97- dialog.toFront();
9898 if (msgevent.isok() == true) {
9999 return text.getText();
100100 } else {