While my swing application is working, I am changing the screen size (for example, from 1024x768 to 800x600).
Is there any event that I can listen to receive a notification about this?
Alternatively, I could check the screen size every couple of seconds, but Toolkit.getScreenSize () continues to tell me the old value.
How can I get the real screen size after changing?
Environment: Linux (tested on SuSE ES 11 and Ubuntu 9.04)
I appreciate your help.
Marton
java screen swing toolkit size
Marton sigmond
source share