All Classes Namespaces Files Functions Variables
AlertMain.java
Go to the documentation of this file.
1 package fxguiDialogs;
2 import javafx.stage.Stage;
3 import javafx.application.Application;
4 import fi.jyu.mit.fxgui.*;
5 
6 
7 @SuppressWarnings("javadoc")
8 public class AlertMain extends Application {
9  @Override
10  public void start(Stage stage) {
11 
12  Dialogs.showMessageDialog("Ei osata vielä lisätä", alert -> alert.getDialogPane().setPrefWidth(100));
13  }
14 
15  public static void main(String[] args) { launch(args); }
16 }