RFR: 8283624: Create an automated regression test for RFE-4390885 [v3]

Manukumar V S mvs at openjdk.java.net
Wed Apr 20 07:14:33 UTC 2022


> Write a regression test for [JDK-4390885](https://bugs.openjdk.java.net/browse/JDK-4390885) Enhancement Request.
> 
> Issue:
> Please add the ability to set the location of a JFileChooser. This might be a
> bug, but JFileChooser.setLocation() has no effect when
> JFileChooser.showXXXXDialog() is called. This is becoming very important as the
> popularity of multiple monitors is increasing. These dialogs show up on the
> wrong monitor which is really annoying. Also due to bug #4189244 I am unable to
> avoid painting problems by positioning the dialog away from the menu item that
> initiated it.
> 
> Fix:
> Now it's possible to set the location of Dialog in JFileChooser.
> 
> Testing:
> 1. Tested in Mach5 10 times per platform(macos,linux,windows) and got all Pass.

Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:

  Removed some duplicate code

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7996/files
  - new: https://git.openjdk.java.net/jdk/pull/7996/files/76337e2f..22e4eebc

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7996&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7996&range=01-02

  Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7996.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7996/head:pull/7996

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



More information about the client-libs-dev mailing list