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 按钮会发生什么?如果我们按下 OK 按钮,是否有任何事件发生在背面?
Window.alert()是一个阻塞调用,所以点击OK后代码继续运行。
Window.alert()
Window.alert("OK?"); GWT.log("That line won't run until after you dismiss the alert box, " + "THAT's the \"event\"!");