-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
b02
-
x86
-
windows_nt
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2026646 | 1.3.1 | Mingyao Yang | P4 | Resolved | Fixed | 1.3.1 |
JDK-2026645 | 1.3.0_02 | Mingyao Yang | P4 | Closed | Fixed | 02 |
JDK-2026644 | 1.2.2_002 | Mingyao Yang | P4 | Resolved | Fixed | b02 |
Customer is using JDK1.2 on Windows.
When changing panels in a java.awt.Frame, and using a dialog as a popup message
during the transition between panels can cause erratic behaviour in the application/applet, including requestFocus() and mouse problems. In the test case provided, the focus should always be set to the java.awt.TextField. However, because a message dialog is shown and disposed during the panel transition, the focus stays on the first object added to the layout manager. If you comment out the call to "dlg.dispose" in the closeDlg method, then the
focus is always given to the java.awt.TextField in the each panel which
is the desired behavior. The testcase is located in the attachments.
When changing panels in a java.awt.Frame, and using a dialog as a popup message
during the transition between panels can cause erratic behaviour in the application/applet, including requestFocus() and mouse problems. In the test case provided, the focus should always be set to the java.awt.TextField. However, because a message dialog is shown and disposed during the panel transition, the focus stays on the first object added to the layout manager. If you comment out the call to "dlg.dispose" in the closeDlg method, then the
focus is always given to the java.awt.TextField in the each panel which
is the desired behavior. The testcase is located in the attachments.
- backported by
-
JDK-2026644 Disposing Dialog nullifies TextField.requestFocus() call
- Resolved
-
JDK-2026646 Disposing Dialog nullifies TextField.requestFocus() call
- Resolved
-
JDK-2026645 Disposing Dialog nullifies TextField.requestFocus() call
- Closed
- relates to
-
JDK-4673900 Switching between panels leaves the old panel displayed the new one.
- Closed