lucianobroussal / gwtwindowmanager

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

GDesktopPane does not fire onWindowResize #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add the follwoing line to the 'public void onWindowResized(int width, 
int height)' method: 'System.out.println("We never reach this");'
2. Run the application using a GDesktopPane and resize your window

What is the expected output? What do you see instead?
I should see: 'We never reach this' being printed when resizing my window, 
instead nothing happenes.

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

Please provide any additional information below.
To resolve this issue I used an inner class and added this to the 
GDesktopPane during initialization.

    private void initialize() {
        this.frames = new ArrayList();
        Window.addWindowResizeListener( new ResizeListner() );
    }

    class ResizeListner implements WindowResizeListener {
        public void onWindowResized(int width, int height) {
        }
    }

This resolved the issue...

Original issue reported on code.google.com by rco...@gmail.com on 1 May 2007 at 2:08

GoogleCodeExporter commented 8 years ago
Thank you rcoops for the code snippet.
After testing it will be integrated.
Congratulations.

Original comment by luciano.broussal@gmail.com on 4 May 2007 at 8:20