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

getLocationOnScreen() shows incorrect behavior on win32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.1.1, 1.2.0, 1.3.0
    • client-libs
    • None
    • beta
    • x86, sparc
    • solaris_2.5, windows_95, windows_nt

      On Solaris, calling getLocationOnScreen() while handling the Event.WINDOW_ICONIFY returns the location of the frame prior to the frame
      being iconized. On Win32, it returns the location of the iconized frame.
      This is a problem in HJ in using the Places window. As a workaround for AWT bugId 1235108 (no way to programmatically deiconioze the frame), we have to dispose and recreate the frame. The incorrect values returned from getLocationOnScreen() on win32 makes this unusable.

            rraysunw Richard Ray (Inactive)
            mminasan Malini Minasandram
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: