From ApplicationWindow:
In Advisor.onWindowCreated, window.getControl() returns null.Code:... public void open() { this.control = createWindowControl(); getApplicationAdvisor().showIntroComponentIfNecessary(this); this.control.setVisible(true); getApplicationAdvisor().onWindowOpened(this); } ... protected JFrame createWindowControl() { ... getApplicationAdvisor().onWindowCreated(this); return control; } ...
I use that to move my window before showing it.
Is there another method to persist the location and the dimensions of a window ?


Reply With Quote