public void playMedia(boolean showPlayerWindow){
  String filename=stopAndPrepareFilename();
  if (filename.length() > 0) {
    MPlayerMediator mplayerMediator=MPlayerMediator.instance();
    if (mplayerMediator != null) {
      mplayerMediator.showPlayerWindow(showPlayerWindow);
    }
    mplayer.open(filename,getAdjustedVolume());
  }
  notifyState(getState());
}

public void playMedia ( boolean showPlayerWindow ) { String filename = stopAndPrepareFilename ( ) ; if ( filename . length ( ) > 0 ) { MPlayerMediator mplayerMediator = MPlayerMediator . instance ( ) ; if ( mplayerMediator != null ) { mplayerMediator . showPlayerWindow ( showPlayerWindow ) ; } mplayer . open ( filename , getAdjustedVolume ( ) ) ; } notifyState ( getState ( ) ) ; }
force showing or not the media player window
