RFR: JDK-6690019: JOptionPane obscured behind an always on top JFrame hangs UI

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Oct 10 03:50:11 UTC 2023


On Mon, 9 Oct 2023 16:46:36 GMT, Alisen Chung <achung at openjdk.org> wrote:

> Would it be better to check if the JFrame is "always on top" before making the JOptionPane also always on top?

No..That's the issue this PR is trying to solve...
If a frame is not "always on top" and is hidden by a frame which is "always on top", then the JOptionPane owned by former frame will hang the process as it is modal and will not allow events to go to latter or former frame..

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16060#issuecomment-1754307067


More information about the client-libs-dev mailing list