On Thu, 5 Oct 2023 16:43:17 GMT, Prasanta Sadhukhan <[email protected]> wrote:
> A JOptionPane message dialog owned by a JFrame which is not always on top can > be obscured behind an `"always on top" JFrame`. Since the option pane is > modal, one can't move the "always on top frame" to reveal it, so the > application effectively hangs as we cannot dismiss the option pane dialog > Fix is to make sure the option pane dialog is always on top.... Would it be better to check if the JFrame is "always on top" before making the JOptionPane also always on top? ------------- PR Comment: https://git.openjdk.org/jdk/pull/16060#issuecomment-1753342445
