get Always On Top JavaFX Popup - Java JavaFX

Java examples for JavaFX:Popup

Description

get Always On Top JavaFX Popup

Demo Code


//package com.java2s;

import javafx.scene.Node;

import javafx.stage.Popup;
import javafx.stage.PopupBuilder;

public class Main {
    public static Popup getAlwaysOnTop(Node root) {
        return PopupBuilder.create().content(root).build();
    }/*from  w ww . ja va  2  s .c  om*/
}

Related Tutorials