Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

awt.PrinterJob.pageDialog not being nice

Micha Jones
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic