Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
特定の時間後に GWT で Window.alert() を自動的に閉じるにはどうすればよいですか? 問題は、ユーザーに新しいことを通知したいのですが、「OK」ボタンがクリックされるまで Window.alert() がアプリケーションをブロックすることです。
Window.alert() によって作成されたダイアログを閉じることはできませんが、通常の GWT ダイアログを使用してユーザーに表示することはできます。プログラムで閉じることができます。
見てみましょう: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html