public void splash(Object splash){
  this.splash=Objects.requireNonNull(splash);
}

public void splash ( Object splash ) { this . splash = Objects . requireNonNull ( splash ) ; }
sets the splash screen image - any size and format is okay .
