Retrieve screen info once
The method getScreenInfo() is synchronized, and the result may change between calls. Call it once and store the result in a local variable.
R
Romain Vimont committed
ef56cc6ff74862e85c0af4746fa26ef391f6f3a9
Parent: c0f428e