{
this.main.lockWithMessage("Loading experiment data ...");
JAXBContext jc = JAXBContext.newInstance("org.patika.mada.dataXML");
Unmarshaller u = jc.createUnmarshaller();
ChisioExperimentData data;
/* UK: use appropriate method of urmarshaling */
if (this.local)
data = (ChisioExperimentData) u.unmarshal(new File(filename));
else
data = (ChisioExperimentData) u.unmarshal(new URL(filename));
main.setExperimentData(data, filename);
// Apply coloring on the current view if exists
new ColorWithExperimentAction(main, null, data.getExperimentType()).run();
}
catch (Exception e)
{
e.printStackTrace();