JDK-6693032 : "About Java Technology" dialog is hidden behind other windows
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86
  • Submitted: 2008-04-23
  • Updated: 2010-04-04
  • Resolved: 2008-10-23
Related Reports
Duplicate :  
Description
When you choose "About Java Technology" from the tray to verify the current version, the window doesn't show as the front window - I had to close several other open windows before being able to see it. AFAIK earlier betas didnt have this issue.

This is reproducible in XP and Vista.

To Reproduce:
- Open a Firefox browser and an IE browser.
- Launch an applet in IE browser.
- Click on the Firefox browser to give it focus.
- Right click the Java sys tray icon, and select "About Java Technology"
- Observe that the "About Java Technology" dialog is not getting its focus. It is hidden behind the IE and Firefox browsers.

Comments
EVALUATION This is a duplicate of 6632182.
23-10-2008

SUGGESTED FIX ------- UIFactory.java ------- *** //C/tmp/sccs.001000 Tue Jul 22 14:09:01 2008 --- UIFactory.java Tue Jul 22 13:55:32 2008 *************** *** 820,825 **** --- 820,826 ---- Dimension sd = Toolkit.getDefaultToolkit().getScreenSize(); Dimension dd = dlg.getSize(); dlg.setLocation((sd.width - dd.width)/2, (sd.height - dd.height)/2 ); + dlg.setAlwaysOnTop(true); dlg.setVisible(true); tsLastActive = System.currentTimeMillis(); }
22-07-2008

EVALUATION The "About Java Technology" dialog is being constructed as a modal dialog with its parent set to null. To make this dialog to be displayed on top of any window, a simple fix is to call the setAlwaysOnTop(true) method prior to calling setVisible.
22-07-2008