setPaused(playButton.getLabel().equals("Pause"));
player.setPaused(playButton.getLabel().equals("Pause"));
  public void actionPerformed(ActionEvent evt) {    if (evt.getSource() == playButton) {      setPaused(playButton.getLabel().equals("Pause"));    } else if (evt.getSource() == posText) {      player.setPos(Integer.parseInt(posText.getText()));    }  }