if (client != null) { client.setTitle(currentTrack == null ? "iRATE Radio" : currentTrack.toString() + " - iRATE Radio"); }
  public void update() {    Track currentTrack = playThread.getCurrentTrack();    currentSongLabel.setText(currentTrack == null ? " " : currentTrack.toString());    trackTable.notifyListeners();    pauseButton.setText(playThread.isPaused() ? "|>" : "||");        if (null != currentTrack) {      for (int i = 0; i < sorter.getRowCount(); i++) {        if (currentTrack.getTitle().equals(sorter.getValueAt(i, 2))) {          table.clearSelection();          table.setRowSelectionInterval(i, i);          break;        }      }    }           this.validate();    this.repaint();  }