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

Alisen Chung achung at openjdk.org
Mon Aug 5 17:01:16 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20359/files
  - new: https://git.openjdk.org/jdk/pull/20359/files/50fd274b..84d62d5e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20359&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20359&range=00-01

  Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/20359.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20359/head:pull/20359

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


More information about the client-libs-dev mailing list