bthamrin / gwtwindowmanager

Automatically exported from code.google.com/p/gwtwindowmanager
0 stars 0 forks source link

DefaultGInternalFrame w.close causes an exception #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

    public void onModuleLoad() {
        GDesktopPane tmpDesktop = new DefaultGDesktopPane();
        RootPanel.get().add((Widget) tmpDesktop);
        final DefaultGInternalFrame window = new DefaultGInternalFrame("My
Internal Frame");
        window.setSize(800, 500);
        Button b = new Button("Close");
        b.addClickListener(new ClickListener() {

            public void onClick(Widget arg0) {
                try {
                    window.close();
                    Window.alert("After close()");
                } catch (Exception e) {
                    Window.alert("Exception: " + e.getMessage());

                }
            }
        });
        window.setContent(b);

        tmpDesktop.addFrame(window);
        window.setVisible(true);
    }

What is the expected output? What do you see instead?

I would expect to see the message "after close", not the exception message..

What version of the product are you using? On what operating system?

gwm version 0.6.6, gwt-widgets 0.1.5, gwt-linux-1.4.61 running on OpenSuSE 10.3

Please provide any additional information below.

Original issue reported on code.google.com by c.blij...@crcvalue.nl on 6 Mar 2008 at 9:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I tried gwt-widgets version 0.1.3 but that didn't solve the problem.
This issue is introduced after gwm-version 0.6 in combination with 
gwt-linux-1.3.3.

Original comment by c.blij...@crcvalue.nl on 6 Mar 2008 at 9:39