On Mon, 5 Aug 2024 17:01:16 GMT, Alisen Chung <ach...@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