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

Tiny: tiny awt uses the wrong coordinate system when moving windows

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      generic

      Description

      When dragging a window with tiny awt , the window sometimes jumps
      unpredictably. This is more noticable on slow machines.

      Reproduce by putting several tiny awt windows up with complex paint methods
      all controlled by the same virtual java machine. Rapidly drag one of them
      over the other two repeatedly. This is only somewhat noticable under Solaris
      on a SS10, but it is quite noticable under Kona, which is currently slower due
      to much of the system being written in uncompiled Java.

      The problem is that TinyWindowFrame processes MOUSE_DRAG events relative
      to the requested position of the window, whereas mouse events come in with
      events relative to where the window actually is. When your event queue
      starts backing up, these can be quite different.

        Attachments

          Activity

            People

            Assignee:
            lbunnisunw Lara Bunni (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: