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

FileChooser.showSaveDialog has an "Open" button instead of a "Save" button, but text should be configurable anyway.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Windows 7 64-bit
      Java 7u6 32-bit

      Description

      FileChooser fc = FileChooserBuilder.create().extensionFilters(new FileChooser.ExtensionFilter("My File Type", "myext"))
      .title("Save My File")
      .initialDirectory(initDir)
      .build();
      fc.showSaveDialog(someNode.getScene().getWindow());

      Shows a save dialog with an "Open" button. FileChooserBuilder does not have any method to override the button text (it should).

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: