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

Andrey Turbanov aturbanov at openjdk.org
Tue Aug 6 08:41:36 UTC 2024


On Tue, 6 Aug 2024 00:41:53 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:
> 
>   fix spacing

test/jdk/javax/swing/JOptionPane/OptionPaneInput.java line 75:

> 73:         });
> 74: 
> 75:         f.setSize(300,100);

Suggestion:

        f.setSize(300, 100);

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20359#discussion_r1705142048


More information about the client-libs-dev mailing list