public void showDialog(Set<Integer> emotesets,String stream){
  if (stream != null && !stream.equals(this.stream)) {
    setUpdated(UPDATE_CHANNEL_CHANGED);
  }
  if (stream != null) {
    this.stream=stream;
  }
  if (emotesets != null && !emotesets.equals(this.emotesets)) {
    setUpdated(UPDATE_EMOTESET_CHANGED);
  }
  this.emotesets=new HashSet<>(emotesets);
  updateTitle();
  showEmotes();
  setVisible(true);
}

public void showDialog ( Set < Integer > emotesets , String stream ) { if ( stream != null && ! stream . equals ( this . stream ) ) { setUpdated ( UPDATE_CHANNEL_CHANGED ) ; } if ( stream != null ) { this . stream = stream ; } if ( emotesets != null && ! emotesets . equals ( this . emotesets ) ) { setUpdated ( UPDATE_EMOTESET_CHANGED ) ; } this . emotesets = new HashSet < > ( emotesets ) ; updateTitle ( ) ; showEmotes ( ) ; setVisible ( true ) ; }
opens the dialog , using the given emotesets and stream .
