Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Swing / AWT / SWT and the fly likes Printer Prefs Dialog Confusion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Printer Prefs Dialog Confusion" Watch "Printer Prefs Dialog Confusion" New topic

Printer Prefs Dialog Confusion

Aaron Roberts
Ranch Hand

Joined: Sep 10, 2002
Posts: 174
I have an app which runs in full screen mode. It doesn't change the resolution.

Here is a code snippet -

When I used the printJob.printDialog() method, to show a native print dialog menu, it doesn't show up on the full screen JFrame. I have to alt-tab to it. If I use the version shown above, the dialog shows up, but it won't let me change the printer prefs (specifically printing in color vs black white)

Is there a way to either get the native dialog to show up where I want it or to get access to the printer properties?

Aaron R>
[ October 28, 2004: Message edited by: Aaron Roberts ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Moving to the Swing forum where people know about Printing.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Printer Prefs Dialog Confusion
It's not a secret anymore!