API REVIEW: RT-23888, Make PopupFeatures and PromptData final

Peter Zhelezniakov Peter.Zhelezniakov at oracle.com
Fri Aug 31 05:59:41 PDT 2012


There are two helper classes in javafx.scene.web package: PopupFeatures
and PromptData. They are not meant to be extended by developers, so I
hereby propose making them final, i.e.:

public final class PopupFeatures {
    public final boolean hasMenu();
    public final boolean hasStatus();
    public final boolean hasToolbar();
    public final boolean isResizable();

public final class PromptData {
    public PromptData(String message, String defaultValue);
    public final String getMessage();
    public final String getDefaultValue();


More information about the openjfx-dev mailing list