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

Make Tooltip Text selectable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • Cause Known
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      Many times the tooltips display useful information that can actually be copied and pasted elsewhere. Currently there is no way to select the text in the tooltip. Support a mode for tooltip in which the text can be selected as if in a text area. The tooltip may enter this mode using a keyboard showrtcut or a click on "pin" tooltip button.

      JUSTIFICATION :
      Many times the tooltips display useful information that can actually be copied and pasted elsewhere. For example fully qualified class name in a Java IDE can be copied and pasted into an import statement. The absolute of a file in the Java file editor tab's tooltip can be copied and pasted in a desktop shell window.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
        Tootip is shown.
      User wants to copy the text displayed in the Tooltip.
      User click on the "pin" button in the tooltip window or does some mouse gesture or types a keyboard shortcut. The tooltip enters a mode where the text is displayed in a non editable JTextComponent (including JScrollPane if required).
      User copies the text.
      User presses Escape to dismiss the tooltip.
      ACTUAL -
      No way to copy the tooltip text.

            Unassigned Unassigned
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: