Posted by nobischu
on January 11, 2010 at 3:39 AM PST
i went through 'Creating a Custom Java Desktop Application'.
Just after the wizard has built the application, i came upon a strange problem:
- i run the 'CustomerRecords' application, maximize the window and close it
- i run the application again. It comes up in the maximized state. I close it again without resizing.
- from now on i cannot resize the application anymore. It stays maximized.
To fix it, i did a lot of googling and finally ran across a similar problem(http://www.velocityreviews.com/forums/t595757-resize-external-frame-in-s... , thanks a lot)
I added a 'Resize' - Button to the application, and for the actionPerformed method i entered:
Frame mf = getMyFrame();
Once the Resize button has been pressed, Resizing functions as expected again.
This look to me like a bug, or am i missing some option?