Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Swing / AWT / SWT
posted 12 years ago
I am deploying an application that needs to create a postscript (ps) file using
PrintJob pjob = Toolkit.getDefaultToolkit().getPrintJob( new Frame(), "PrintJob with Java", jobAtt, pageAttrib);
This works fine in Windows XP, but when I deploy it to AIX, I get this error:
I know that this is because the system attribute (awt.toolkit) is not set for the environment.
All I want to do is to find out what JAR file to include in the project (and where to download it) to have the sun.awt.motif.* package available to the
If I'm missing the point and there's an easier way to do this, please let me know!
Thank you very much in advance for taking a look and helping me.
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
How to print an RenderedImage?
Print complete UI.
how 2 take print from a frame (hard copy)??????
how to send a file from java for printing