shell.setText( (track == null ? "" : track.toString() + " - ") + Resources.getString("titlebar.program_name"));
shell.setText(track.toString() + " - " + Resources.getString("titlebar.program_name"));
  public void update() {    if(trackGroup != null && trackGroup.isEnabled()==false) {      trackGroup.setEnabled(true);      trackTable.enable();    }        //synchronizePlaylist(playListManager, tblSongs);    Track track = playThread.getCurrentTrack();    if (track == null)      return;    shell.setText(      (track == null ? "" : track.toString() + " - ") + Resources.getString("titlebar.program_name"));    trackLabel.setText(Resources.getString("title.now_playing") + " " + track.getArtist() + " / " + track.getTitle());    for (int i = 0; i < ratingFunctions.length; i++) {      RatingFunction rf = ratingFunctions[i];      ThreeModeButton item = rf.getItem();      item.setSelection(i != 0 && track.isRated() && rf.getValue() <= track.getRating());    }    volumeScale.setSelection(      (track.getVolume() + VOLUME_OFFSET) / VOLUME_RESOLUTION);    trackTable.select(track);    if (track != previousTrack) {      if (previousTrack != null)        trackTable.updateTrack(previousTrack);      previousTrack = track;    }    downloadThread.checkAutoDownload();    previous.setEnabled(playThread.hasHistory());  }