if (nindex < 0)
return;
if (nindex >= epg.getEvents().size())
return;
this.index = nindex;
Event event = epg.getEvents().get(index);
page.setText((index+1)+" of "+epg.getEvents().size());
setTitle(epg.getServiceName());
title.setTitle(event.getDescription());
description.setText(event.getDetails());
model.removeRow(0);
model.insertRow(0,new String[]{event.getDate(),event.getTime(),event.getDuration(),event.getGenre()});
setVisible(true);
repaint();
}