Skip to content
This repository was archived by the owner on Jun 24, 2021. It is now read-only.
This repository was archived by the owner on Jun 24, 2021. It is now read-only.

filechooser showSaveDialog() not display title #648

@taihuapp

Description

@taihuapp

Here is the sample code:

package sample;

import javafx.application.Application;
import javafx.stage.FileChooser;
import javafx.stage.Stage;

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) {
        FileChooser fileChooser = new FileChooser();
        fileChooser.setTitle("Saving file ...");
        fileChooser.showSaveDialog(primaryStage);
    }

    public static void main(String[] args) {
        launch(args);
    }
}

When the above code was running with openjfx library 15.0.1 or 11.0.2, the title "Saving file ..." is not shown. It works properly with Java 8, though.

I'm running Ubuntu 20.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions