src/main/java/chalmers/pimp/controller/ControllerFactory.java
public static IController createController(IModel model, IView view, Stage stage) {
    try {
      return new ControllerImpl(model, view, stage);
    } catch (IOException e) {
      throw new RuntimeException("Failed to create chalmers.pimp.controller instance: " + e);
    }
  }
/**
   * Creates and returns a model instance.
   *
   * @param model the associated model instance.
   * @param view  the associated model instance.
   * @param stage the parent stage instance.
   * @return a model instance.
   * @throws NullPointerException if any arguments are {@code null}.
   */
Creates and returns a model instance.
@param model the associated model instance.
@param view  the associated model instance.
@param stage the parent stage instance.
@return a model instance.
@throws NullPointerException if any arguments are  null.
Creates and returns a model instance . @param model the associated model instance . @param view the associated model instance . @param stage the parent stage instance . @return a model instance . @throws NullPointerException if any arguments are null .
public static IController createController(IModel model, IView view, Stage stage) {
    try {
      return new ControllerImpl(model, view, stage);
    } catch (IOException e) {
      throw new RuntimeException("Failed to create chalmers.pimp.controller instance: " + e);
    }
  }
public static IController createController ( IModel model , IView view , Stage stage ) { try { return new ControllerImpl ( model , view , stage ) ; } catch ( IOException e ) { throw new RuntimeException ( "Failed to create chalmers.pimp.controller instance: " + e ) ; } }
Creates and returns a model instance.
Creates and returns a model instance .