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

impossible to implement normal selection semantics

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1
    • client-libs
    • None
    • x86
    • windows_95



      Name: mc57594 Date: 02/17/97


      In windows applications one often sees "select on entry"
      fields. When the user tabs into the field, the text should
      be selected. However if the user mouse clicks it should not
      be. In JAVA a FocusListener is called upon entry to the
      field but it is not possible to know the reason entry was
      effected. Therefore it is impossible to know whether ot
      not to select the text.

      On exit from a field the text in JAVA remains selected.
      This is unusual behavior and extremely confusing to the
      end user because focus is not on the control with selected
      text.

      Moreover there is no "clear selection" method so the JAVA
      programer cannot clear selections manually.
      company - Prolifics, a JYACC company , email - ###@###.###
      ======================================================================

            xdengsunw Xianfa Deng (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: