View Full Version : [CLOSED] Double listener call on Messagebox.alert()

21 Jul 2009, 2:59 PM
Hi, I'm having trouble using the Messagebox component and I believe this is a bug.

I have the following call:

MessageBox.alert("test", "test", listener);Using the following listener:

final Listener<ComponentEvent> listener = new Listener<ComponentEvent>() {
public void handleEvent(ComponentEvent ce) {
Info.display("Test1", "Test2");
When execution reaches this call, The window appears, but I have to click twice the OK button for it to close, and it calls my listener twice.

Any help?

21 Jul 2009, 3:06 PM
Sorry. My bad. Admins, please delete this post.

21 Jul 2009, 3:08 PM
That works fine. Take a look at the examples. It works there without problems. Please provide a complete testcase according the bugforum guidelines

21 Jul 2009, 3:09 PM
Sorry. My bad. Admins, please delete this post.

Ok, i am closing this issue than.