String title = spp.getTitle().getText();
job.setJobName("Spielplan");
//noch anpassen uhrzeit, datum
DruckSpielPanel dsp = new DruckSpielPanel();
dsp.setSps(spp);
dsp.setTitle(title);
dsp.setGetPrintInfo(true);
try {
job.setPrintable(dsp);
job.print();
// job.setPrintable(dsp);
dsp.setGetPrintInfo(false);
// show the dialog
if (job.printDialog()) {
job.print();
}
} catch (HeadlessException e1) {