RFR: 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time

Alexander Zvegintsev azvegint at openjdk.org
Wed Jul 12 10:32:13 UTC 2023


On Wed, 12 Jul 2023 07:36:56 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Due to some threading issues, Progress Monitor is not shown in macos..

It's more like we didn't meet the conditions for the ProgressMonitor to appear.

https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/javax/swing/ProgressMonitor.html
>  Initially, there is no ProgressDialog. After the first millisToDecideToPopup milliseconds (default 500) the progress monitor will predict how long the operation will take. If it is longer than millisToPopup (default 2000, 2 seconds) a ProgressDialog will be popped up.

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

PR Comment: https://git.openjdk.org/jdk/pull/14844#issuecomment-1632252412



More information about the client-libs-dev mailing list