You may experience a slow response time in a scenario like the following:
The application works well as long as the user is busy with it.
The user lets the application sit idle while they do other things.
When this user clicks on the application to reactivate it, the response to get it upon the screen again is very long.
This is especially true when the application is a GUI app, and the idle time is an hour or more. Once the GUI is activated everything works fine and the response time is normal.
To solve this problem, set the java property "sun.awt.keepWorkingSetOnMinimize=true"
For instance: