JDK-6385581 : REGRESSION: JWindow now shows up in Windows Task Bar
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-02-14
  • Updated: 2010-04-03
  • Resolved: 2006-02-14
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE REGRESSION :
JWindows will show up in the Windows XP Task bar.  The icon is the default Java coffe cup for JDK 6 and there is no title to the frame.

REPRODUCIBLE TESTCASE OR STEPS TO REPRODUCE:
package mustang;

import java.awt.Frame;
import java.awt.Window;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JWindow;

public class WindowShowsInTaskbar {
    
    public static void main(String[] args) {
        
        JFrame root = new JFrame("Root");
        root.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        root.add(new JLabel("<html>the root.<br> I should be the only coffee cup in the task bar<br>If there is a bug minimizing and maximizing brings frames to and from the taskbar"));
        root.pack();
        root.setLocationByPlatform(true);
        root.setVisible(true);
        
        JWindow win1 = new JWindow((Frame)root);
        win1.add(new JLabel("The JWindow rooted to a frame as a frame"));
        win1.pack();
        win1.setLocationByPlatform(true);
        win1.setVisible(true);

        JWindow win2 = new JWindow((Window)root);
        win2.add(new JLabel("The JWindow rooted to a frame as a Window"));
        win2.pack();
        win2.setLocationByPlatform(true);
        win2.setVisible(true);
    
        JWindow win3 = new JWindow();
        win3.add(new JLabel("The JWindow un-rooted "));
        win3.pack();
        win3.setLocationByPlatform(true);
        win3.setVisible(true);
    
    }
}


RELEASE LAST WORKED:
5.0 Update 6

RELEASE TEST FAILS:
mustang-b70

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JWindows should not show up on the task bar.
ACTUAL -
Four coffee cup windows show up in the task bar, and two of them appear and disappear with the root frame.

APPLICATION NAME: Netbeans	APPLICATION VERSION: 5.0

OBSERVED APPLICATION IMPACT:
  Tooltip completeions register in the toolbar, sometimes causing it to auto-resize which adds visual distractions in the periffery (sp?)

Comments
EVALUATION Duplicate of 6384552.
14-02-2006