Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在我正在寻找解决方案,mouseClicked如果在外部单击鼠标,如何限制/使用事件JWindow。例如 -JWindow有两个按钮“是”和“否”(如对话框)。JWindow它的父级也有各种按钮 - 但在(对话框)可见期间它们必须处于非活动状态。我应该手动限制父母按钮的操作 - 还是有更好的解决方案?
mouseClicked
JWindow
..一些更好的解决方案?
模态对话框。当模态对话框可见时,对父组件的访问被阻止。
有关更多详细信息,请参阅如何在对话框中使用模态。
I got a problem and I hope you guys can help me solve it.
I have this function in which I want to use autocomplete. With the help below, I managed to remove the error but now it j