-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
A DESCRIPTION OF THE PROBLEM :
When the ProgressMonitor window is open, there are 3 ways to close the window.
1. Click cancel button with mouse
2. Close the window (e.g. 'X' in the widow's title bar)
3. Press ESC
The first 2 ways set the isCancelled() flag, the third does not.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Can be reproduced using the "How to use progress bars" tutorial page.
The web-start link is currently:
http://java.sun.com/docs/books/tutorialJWS/uiswing/components/example-1dot4/ProgressMonitorDemo.jnlp
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
isCancelled() returns true
ACTUAL -
isCancelled() returns false
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
A DESCRIPTION OF THE PROBLEM :
When the ProgressMonitor window is open, there are 3 ways to close the window.
1. Click cancel button with mouse
2. Close the window (e.g. 'X' in the widow's title bar)
3. Press ESC
The first 2 ways set the isCancelled() flag, the third does not.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Can be reproduced using the "How to use progress bars" tutorial page.
The web-start link is currently:
http://java.sun.com/docs/books/tutorialJWS/uiswing/components/example-1dot4/ProgressMonitorDemo.jnlp
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
isCancelled() returns true
ACTUAL -
isCancelled() returns false
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8065861 Pressing Esc does not set 'canceled' property of ProgressMonitor
-
- Resolved
-