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

Damon Nguyen dnguyen at openjdk.org
Tue Aug 6 00:41:53 UTC 2024


On Mon, 5 Aug 2024 17:01:16 GMT, Alisen Chung <achung 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.
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   check for null

Fix itself looks like it's working fine now. I agree to handle the small comment Harshitha left already, but otherwise lgtm.

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

Marked as reviewed by dnguyen (Committer).

PR Review: https://git.openjdk.org/jdk/pull/20359#pullrequestreview-2220050246


More information about the client-libs-dev mailing list