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

JFileChooser: have to click four times to rename a file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • beta
    • x86
    • windows_nt



      Name: stC104175 Date: 05/05/2000


      java version "1.3.0rc2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-Y)
      Java HotSpot(TM) Client VM (build 1.3.0rc2-Y, mixed mode)

      When using the JFileChooser you have to click four times to be able to rename a
      file, rather than the usual two.

        To see this, run the SwingSet2 demo, and try the FileChooser demo.

      Open the file chooser, and click the "Create New Folder" icon. (Incidentally,
      this highlights another bug, because the new folder should automatically be
      selected, but I'll submit that seperately.)

      Once you've found the new folder, click on it.

      The first time you click on it, it will be selected.

      The second click makes it look like it is editable, but no cursor appears, and
      it is not editable.

      The third click changes the cursor from the pointer to the I beam, but a cursor
      does not appear and the file name is still not editable.

      The fourth click places the cursor, and the filename is then editable.

      Another bug (which I will *not* submit seperately, because it is sufficiently
      related) is that the entire filename should at this point be selected already.
      Instead nothing is selected but the cursor is placed.
      (Review ID: 103313)
      ======================================================================

            leifs Leif Samuelsson (Inactive)
            stompkinsunw Sean Tompkins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: