setAlwaysOnTop(true) does not work in modal dialog in Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: client-libs
    • b30
    • generic
    • windows_xp

      Here is the code that demonstrates the bug.

      import java.awt.*;

      public class AlwaysOnTop {

          public static void main(String[] args) {
           
           Frame f = new Frame("Frame");
           f.setBounds(100,100,400,400);

           f.show();
         
           // Always on Top seems to not work on Windows if the Dialog
           // is modal
           Dialog d = new Dialog(f,"Dialog",true);
           d.setAlwaysOnTop(true);
           d.setBounds(200,200,400,400);
           d.show();
            
           
          }


      }

            Assignee:
            Oleg Sukhodolsky (Inactive)
            Reporter:
            Jennifer Godinez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: