add.setEnabled(false);
	public void updateComponents()	{		EventMusicEntry entry =			entries[entryChooser.getSelectedIndex()];		if (corrChooser.getSelectedIndex() < entry.size())		{			EventMusicEntry.Correlation corr = 				entry.getCorrelation(						corrChooser.getSelectedIndex());			flagField.setEnabled(true);			flagField.setText(Integer.toHexString(corr.getFlag()));			reverseCheck.setEnabled(true);			reverseCheck.setSelected(corr.isReversed());			add.setEnabled(true);			del.setEnabled(true);			inc.setEnabled(corrChooser.getSelectedIndex() > 0);			dec.setEnabled(corrChooser.getSelectedIndex() < entry.size() - 1);			musicChooser.setSelectedIndex(corr.getMusic() & 0xff);		}		else		{			flagField.setText("");			flagField.setEnabled(false);			reverseCheck.setSelected(false);			reverseCheck.setEnabled(false);			add.setEnabled(false);			del.setEnabled(false);			inc.setEnabled(false);			dec.setEnabled(false);			musicChooser.setSelectedIndex(entry.getDefaultMusic() & 0xff);		}	}