public static void main(String[] args){
  System.setProperty("prism.dirtyopts","false");
  JFrame frame=new JFrame();
  frame.setContentPane(new BowlerStudio3dEngine());
  frame.setSize(1024,1024);
  frame.setVisible(true);
  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}

public static void main ( String [ ] args ) { System . setProperty ( "prism.dirtyopts" , "false" ) ; JFrame frame = new JFrame ( ) ; frame . setContentPane ( new BowlerStudio3dEngine ( ) ) ; frame . setSize ( 1024 , 1024 ) ; frame . setVisible ( true ) ; frame . setDefaultCloseOperation ( JFrame . EXIT_ON_CLOSE ) ; }
the main ( ) method is ignored in correctly deployed javafx application . main ( ) serves only as fallback in case the application can not be launched through deployment artifacts , e . g . , in ides with limited fx support . netbeans ignores main ( ) .
