<Swing Dev> RFR: 6350025: API documentation for JOptionPane using deprecated methods.

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Aug 2 09:26:53 UTC 2021


The method show() in the JOptionPane javadoc example is deprecated. The recommended method to call would be setVisible(true).

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

Commit messages:
 - 6350025: API documentation for JOptionPane using deprecated methods.

Changes: https://git.openjdk.java.net/jdk/pull/4953/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4953&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-6350025
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4953.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4953/head:pull/4953

PR: https://git.openjdk.java.net/jdk/pull/4953


More information about the swing-dev mailing list