JFrames and JDialogs sometimes open up behind their parent windows but have focus

前端 未结 3 1774
遇见更好的自我
遇见更好的自我 2021-01-19 03:45

We are developing a rather big Java enterprise application with a traditional Swing client.

Every now and then, we facing the problem that random JDialogs and JFra

3条回答
  •  隐瞒了意图╮
    2021-01-19 04:18

    I once had the same problem: The error was that the JDialog's/JFrame's parent was in fact not set properly. I set it to the parent of the parent, which caused the issue.

提交回复
热议问题