Thanks for your reply Robert. I want to change the size of the window after some user events( like on a button click), not on start up or from some other widget. I tried the below line and its not giving me the expected result. Any help will be appreciated. Thanks in advance.
this.setPosition(pos);
PanelManager.getInstance().normalizePanel(this.panel); //PanelManager.getInstance().normalizePanel(this);