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

Should use desktop settings instead of hardcoded constants

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • Fix Understood
    • generic
    • generic

      Starting with the fix for 6176814, a double click is recognized on XAWT
      only if the distance between 2 successive mouse presses is not greater
      than the constant 4. A desktop property (see Toolkit.getDesktopProperty())
      should be used intead of the constant. On X platforms the desktop property
      should be mapped to XSETTING Net/DoubleClickDistance (refer to
      http://freedesktop.org/wiki/Standards_2fXSettingsRegistry).

      There may be other places in AWT where desktop settings should be used
      instead of hardcoded contants.

      ###@###.### 2004-12-23 15:24:02 GMT

            dav Andrei Dmitriev (Inactive)
            agerasimsunw Alexander Gerasimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: