-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPopup.java
More file actions
27 lines (23 loc) · 706 Bytes
/
Popup.java
File metadata and controls
27 lines (23 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.Pane;
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import java.util.Optional;
public class Popup extends Application {
public static void main(String[] args){
launch(args);
}
@Override
public void start(Stage stage) throws Exception {
Button button = new Button("Advanced Search");
//Pane popup = getPopupMenu();
button.setOnAction((event) -> {
//how to change the popup ontop of the hall stage?
});
}
}