I want to print from a cocoa app, but it won't work!!!
The following sample code:
PrinterJob printJob = PrinterJob.getPrinterJob();
printJob.setPrintable(new MGPrint());
if (printJob.printDialog()) { try {printJob.print();}
Works fine with a JWT / Swing App.
When starting the Cocoa App the Compiling work but when starting this samplecode the Computer just freezes (at the first line).
How can I create a PrinterJob in Cocoa
I tried a simple JWT / Swing App and everything work