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

[macosx] JTree default editor copy/paste inconsistency etc.

    XMLWordPrintable

Details

    Description

      http://java.net/jira/browse/MACOSX_PORT-151 submitted 2011/07/07 by Yuri Nesterenko
      Run an attached minimal example of an editable JTree. As of Hudson b270, you will see some assorted issues with the control: by default, in Aqua, there's nothing but alignment to represent tree structure; a selected node is white on white and thus invisible.
      Try to edit a node. It will become editable not immediately but with some delay, and fortunately it IS visible. Select a part of text.
      Now, in JTextComponent Ctrl+<span class=&quot;error&quot;>&#91;CVX&#93;</span> does work for the cut/paste, in macosx port as well as in jdk 6. However, in the JTree default editor, it doesn't work at all.
      Command+<span class=&quot;error&quot;>&#91;CVX&#93;</span> kind of works but in addition to the regular clipboard functions, Cmd+C does replace selected text with &quot;c&quot;, and Cmd+V does paste selected text with addition of &quot;v&quot;.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: