Example usage for javafx.scene.control Alert subclass-usage

List of usage examples for javafx.scene.control Alert subclass-usage

Introduction

In this page you can find the example usage for javafx.scene.control Alert subclass-usage.

Usage

From source file net.thirdy.blackmarket.controls.LadderHitsDialog.java

/**
 * @author thirdy
 *
 */
public class LadderHitsDialog extends Alert {

From source file eu.over9000.skadi.ui.dialogs.UpdateAvailableDialog.java

public class UpdateAvailableDialog extends Alert {
    public static final ButtonType UPDATE_BUTTON_TYPE = new ButtonType("Download new version", ButtonData.OK_DONE);
    public static final ButtonType IGNORE_BUTTON_TYPE = new ButtonType("Not now", ButtonData.CANCEL_CLOSE);

    public UpdateAvailableDialog(RemoteVersionResult newVersion) {
        super(AlertType.INFORMATION, null, UPDATE_BUTTON_TYPE, IGNORE_BUTTON_TYPE);