public FXDialog(final Stage parent,final Modality modality,final Parent content,final double width,final double height){
  init(parent,modality,content);
  dialog.setWidth(width);
  dialog.setHeight(height);
  final Scene scene=new Scene(content,width,height);
  setScene(scene);
}

public FXDialog ( final Stage parent , final Modality modality , final Parent content , final double width , final double height ) { init ( parent , modality , content ) ; dialog . setWidth ( width ) ; dialog . setHeight ( height ) ; final Scene scene = new Scene ( content , width , height ) ; setScene ( scene ) ; }
create a new dialog with a specified width and height . recommended for creating dialogs which you don ' t want to be resizeable
