I have a JFrame with an image as background,called setUndecorated and setWindowOpaque method. When I open JFrame and then let computer sleep,but when computer wake up from sleep, the JFrame becomes white.
I guess it maybe repaint problem, but I can not solve this problem, would you please give me some suggestions?