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

Alisen Chung achung at openjdk.org
Tue Aug 6 21:12:38 UTC 2024


On Fri, 26 Jul 2024 16:52:44 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.

This pull request has now been integrated.

Changeset: fc652d2a
Author:    Alisen Chung <achung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fc652d2a58bfd99b05011c051e5710d1dac049ab
Stats:     86 lines in 2 files changed: 85 ins; 0 del; 1 mod

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

Reviewed-by: honkar, dnguyen

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

PR: https://git.openjdk.org/jdk/pull/20359


More information about the client-libs-dev mailing list