Example usage for javafx.stage Window setOnShowing

List of usage examples for javafx.stage Window setOnShowing

Introduction

In this page you can find the example usage for javafx.stage Window setOnShowing.

Prototype

public final void setOnShowing(EventHandler<WindowEvent> value) 

Source Link

Usage

From source file:org.beryx.viewreka.fxui.settings.FxPropsManager.java

public void attachTo(Window window) {
    window.setOnShowing(ev -> applySettings());
    window.setOnHiding(ev -> saveSettings());
}