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

Should use desktop settings instead of hardcoded constants

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Imported:
                Indexed: