Hi there!
I've been struggling trying to maximize the main window every time the app starts.
I tried to override the onPostStartup and onPreWindowOpen to get a reference to the application window and adjust it's preferred size to the screen size, but it doesn't work.
Like this:
Application.instance().getActiveWindow().getContro l().setPreferredSize(Toolkit.getDefaultToolkit().g etScreenSize());
Any ideas?


Reply With Quote