I am developing a timer (somewhat like a cafe manager for a small business) which displays the login frame upon time-out. I have used the Robot class and it works perfectly except when I am playing League of Legends (which is in full screen mode).
How do I minimize it/bring my JFrame to front?
I tried using toFront() and repaint() methods but they did not work. The frame would just display behind the game window.