-
Bug
-
Resolution: Fixed
-
P2
-
6u14
-
b123
-
generic
-
windows_vista
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2186677 | 6u19 | Miroslaw Niemiec | P2 | Resolved | Fixed | b01 |
JDK-2189205 | 6u18-rev | Miroslaw Niemiec | P2 | Resolved | Fixed | b09 |
JDK-2180045 | 6u17-rev | Miroslaw Niemiec | P2 | Closed | Fixed | b07 |
JDK-2228878 | 5.0u38 | Vladislav Karnaukhov | P2 | Closed | Fixed | b03 |
JOptionPane's dialog window doesn't repaint sometimes.
FULL PRODUCT VERSION :
- Reported on JDK 6u7
FULL OPERATING SYSTEM VERSION :
- Reported on Windows Vista SP1
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
We can reproduce the problem using the following sample program by clicking "OK" repeatedly. It is difficult to predict the number of trials (clicking "OK") that we need to reproduce the symptom, but
the symptom seems to reproduce once per about 1000 trials.
---------- BEGIN SOURCE ----------
public class Main {
public static void main(String[] args) {
for (int count = 1; count < 2000; ++count) {
System.out.println("[" + count + "]");
JOptionPane.showMessageDialog(null, "Messages", null, JOptionPane.INFORMATION_MESSAGE);
}
}
}
---------- END SOURCE ----------
You can also get the original Japanese (ja_JP.PCK / Shift-JIS encoding) version of this sample program at:
/net/cores.central/cores/dir16/71173356/Main/Main.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected:
The inner area of the dialog is always painted normally, and "Messages"
string and "OK" button appear.
Actual:
The area is sometimes not repainted, and "Messages" and "OK" button
are invisible. (The "OK" button is invisible but active/clickable.)
Please see /net/cores.central/cores/dir16/71173356/my_screenshots/*.JPG .
REPRODUCIBILITY :
The problem doesn't exist on solaris / linux but reproduce it on windows.
- Tested and reproduced on Windows Vista (and SP1, SP2) and Windows XP (and SP2, SP3)
- Reproducible on JDK 1.5.0, JDK 6 and JDK7ea (b63)
CUSTOMER WORKAROUND :
Nothing.
FULL PRODUCT VERSION :
- Reported on JDK 6u7
FULL OPERATING SYSTEM VERSION :
- Reported on Windows Vista SP1
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
We can reproduce the problem using the following sample program by clicking "OK" repeatedly. It is difficult to predict the number of trials (clicking "OK") that we need to reproduce the symptom, but
the symptom seems to reproduce once per about 1000 trials.
---------- BEGIN SOURCE ----------
public class Main {
public static void main(String[] args) {
for (int count = 1; count < 2000; ++count) {
System.out.println("[" + count + "]");
JOptionPane.showMessageDialog(null, "Messages", null, JOptionPane.INFORMATION_MESSAGE);
}
}
}
---------- END SOURCE ----------
You can also get the original Japanese (ja_JP.PCK / Shift-JIS encoding) version of this sample program at:
/net/cores.central/cores/dir16/71173356/Main/Main.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected:
The inner area of the dialog is always painted normally, and "Messages"
string and "OK" button appear.
Actual:
The area is sometimes not repainted, and "Messages" and "OK" button
are invisible. (The "OK" button is invisible but active/clickable.)
Please see /net/cores.central/cores/dir16/71173356/my_screenshots/*.JPG .
REPRODUCIBILITY :
The problem doesn't exist on solaris / linux but reproduce it on windows.
- Tested and reproduced on Windows Vista (and SP1, SP2) and Windows XP (and SP2, SP3)
- Reproducible on JDK 1.5.0, JDK 6 and JDK7ea (b63)
CUSTOMER WORKAROUND :
Nothing.
- backported by
-
JDK-2186677 Dialog created by JOptionPane.showMessageDialog does not repaint sometimes
- Resolved
-
JDK-2189205 Dialog created by JOptionPane.showMessageDialog does not repaint sometimes
- Resolved
-
JDK-2180045 Dialog created by JOptionPane.showMessageDialog does not repaint sometimes
- Closed
-
JDK-2228878 Dialog created by JOptionPane.showMessageDialog does not repaint sometimes
- Closed
- relates to
-
JDK-8130136 Swing window sometimes fails to repaint partially when it becomes exposed
- Resolved