public void openXMLFile() {
FileDialog fd = new FileDialog(new Frame(), "Select a jMusic XML file to display.", FileDialog.LOAD);
fd.show();
String fileName = fd.getFile();
if (fileName != null) {
Score score = new Score();
jm.util.Read.xml(score, fd.getDirectory() + fileName);
this.score = score;
histo.setScore(score);
this.changeDataType(PITCH);
}