/**
  * Create an prefilled GUI to edit a episode
  *
  * @see javax.swing.JDialog#JDialog(java.awt.Frame, boolean)
  * @param outdatedEpisode the episode to edit
  * @param seasonNr the season number to add
  */
 public CreateEpisodeGUI(
     java.awt.Frame parent, boolean modal, final Episode outdatedEpisode, int seasonNr) {
   super(parent, modal, outdatedEpisode, null, false);
   init();
   this.setTitle(bundle.getString("CreateEpisodeGUI.headline.edit"));
   this.episode = outdatedEpisode;
   // GUI mit Werten belegen
   jTextField3.setText(String.valueOf(seasonNr)); // Staffel
   jTextField9.setText(String.valueOf(outdatedEpisode.getEpisodeNumber())); // Episode
 }
 /**
  * Updates all attributes from the episode
  *
  * @param episode
  */
 protected void updateEpisodeData(Episode episode) {
   super.updateMovieData(episode);
   episode.setEpisodeNumber(episodeNr);
 }