Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6236247

REG: Always-On-Top does not work when pack is called on a child window - Win32

    XMLWordPrintable

Details

    • b58
    • generic
    • generic
    • Verified

    Description

      A frame is set to always-on-top. A child dialog is created for this frame. Pack is called on child dialog. Frame is no longer stays always on top.

      Regression introduced in Mustang-b24 on Win32.

      ----------------------------------------------------

      import java.awt.*;

      public class AlwaysOnTopFrame {
          
          public static void main(String args[]) {
              
              Frame frame = new Frame("JFrame");
              frame.setAlwaysOnTop(true);
              frame.setSize(200, 200);
              frame.setVisible(true);
              
              Dialog dialog = new Dialog(frame, true);
              dialog.pack();
          }
      }

      ----------------------------------------------------
      ###@###.### 2005-03-04 15:21:59 GMT

      Attachments

        Issue Links

          Activity

            People

              dmikhalksunw Denis Mikhalkin (Inactive)
              rmenonsunw Rakesh Menon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: