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

Calling move on a Window makes window disappear

XMLWordPrintable

    • sparc
    • solaris_2.5

      When running the following program, the window instance disappears as soon
      as its move method is sent. If I explictly do a show after the move, the window will
      reappear.


      import java.awt.*;

      class win {
          public static void main(String argv[]) {
      Frame f = new Frame();

      Window w = new Window(f);

      w.resize(100,100);

      f.resize(200,200);
      f.show();

      w.show();

      while (true) {
      for (int y = 0; y < 100; y++) {
      for (int x = 0; x < 100; x++) {
      w.move(x, y);
      }
      }
      }

          }
      }

            amfowler Anne Fowler (Inactive)
            sbyrnesunw Steven Byrne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: