Java Application sandbox

Hello, I have a Java application. Sometimes an egg timer appears and I can do nothing. But when I minimize the application and then maximize again, then it works. Has an idea?
The error happens only in a Java application

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.