Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

printDialog - it is hide and it frozes other windows.

843806Feb 16 2008 — edited Feb 18 2008
hello,

I have problems with printDialog().

In Window environment, I need to print from a dialog that is "setted to be top most": this because the window that call the printing service have the method setAlwaysOnTop() put to be true (setAlwaysOnTop(true) ).

It happen that when the object PrinterJob is showed, the dialog is hidden behind window that generated him, and the users think to have "lost" it .

Foreward since the "printing dialog" is modal, all the other windows are frozed, and the user cannot do nothing to exit to this situation...

I didn't find anything that can help to fix this problem with the PrinterJob.printDialog class.

Can some one give me one advice please ?

thank you very much
regards
tonyMrsangelo
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2008
Added on Feb 16 2008
8 comments
419 views