RFR: 8235404: [macos] JOptionPane blocks drawing string on another component

Alisen Chung achung at openjdk.org
Mon Aug 5 17:32:32 UTC 2024


On Tue, 30 Jul 2024 08:00:58 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> Currently if you try to use graphics to draw a string on a frame using JOptionPane + JTextField with a listener as a prompt, the string will not draw. Adding a repaint after dialog.dispose in JOptionPane will cause the text to show after the dialog is closed.
>
> Could you please add a test case to validate the fix ?

@kumarabhi006 I've updated the test from your feedback. Could you re-review the changes?

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

PR Comment: https://git.openjdk.org/jdk/pull/20359#issuecomment-2269563582


More information about the client-libs-dev mailing list