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

Calling move on a Window makes window disappear

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description

      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);
      }
      }
      }

          }
      }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: