JDK-4253052 : When a JInternalFrame is closed, the wrong JInternalFrame gets activated
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-07-09
  • Updated: 1999-09-17
  • Resolved: 1999-09-17
Related Reports
Duplicate :  
Description

Name: skT88420			Date: 07/09/99


When a JInternalFrame is closed, the wrong JInternalFrame gets activated. This is a serious problem to the usability of the application (we go live next week).

1:
Create a JDesktopPane and add a few JInternalFrame's. Then close the last one. Now it seems arbitrary which of the remaining JInternalFrame's gets activated.

We traced it down to WindowsDesktopManager.activateNextFrame() not behaving properly. Overwriting this method to do nothing gets the correct window to the top, but without focus.

2:
If you want code examples, please send me a mail.

5:
java -version
java version "1.2.1"
Classic VM (build JDK-1.2.1-A, native threads)

java -fullversion
java full version "JDK-1.2.1-A"
(Review ID: 84193) 
======================================================================

Comments
EVALUATION Indeed, the internal frames seem to get activated in seemingly random order. hania.gajewska@Eng 1999-09-16
16-09-1999