Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PrinterJob.pageDialog not being nice

Status
Not open for further replies.

lesneskp

Programmer
Jul 3, 2002
19
US
Hello,

Using awt.print.PrinterJob.pageDialog() from a JInternalFrame is problematic in two ways:

1. When pressing ESC to close the pageDialog, the keypress is not consumed by it, and is caught by my application, which thinks that it needs to close the window that was currently open (when the pageDialog wasn't there, this is the desired behavior).

2. It acts "sort of" modal, in that I can click back into the application, but the application is then non-responsive (until the pageDialog is closed)

I'd very much appreciate some advice!

Cheers!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top