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

Reply via email to