/**
  * Creates an OSP control and establishes communication between the control and the model.
  *
  * <p>Custom buttons are usually added to this control to invoke actions in the model.
  *
  * @param model Object
  * @return AnimationControl
  */
 public static OSPControl createApp(Object model) {
   OSPControl control = new OSPControl(model);
   control.setSize(300, 300);
   control.setVisible(true);
   return control;
 }