United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6189161 : Print Dialogue should be modal in 1.4.2/5.0

Details
Type:
Bug
Submit Date:
2004-11-02
Status:
Resolved
Updated Date:
2010-08-03
Project Name:
JDK
Resolved Date:
2006-07-20
Component:
deploy
OS:
windows_xp
Sub-Component:
plugin
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
The print dialogues (native ) are not modal.

REPRODUCE:
 1) Compile the attached java program
 2) Invoke the attached .html by double-clicking
    You will see an applet with "print" button
 3) Click the "Print" button
    You will see a print cofirmation dialogue
 4) Click "ok" in print confirmation button
    You will see page setting dialogue.
 5) Click somewhere in the browser
   You will see the page setting dialogue go back.

CONFIGURATION:
   JRE 1.4.2/5.0
   OS : WindowsXP(SP1, Japanese)
   Browser : IE6.0(SP1)
###@###.### 11/2/04 00:37 GMT

                                    

Comments
EVALUATION

We need to make embeddedframe as the parent of print dialog.
This has to be done for all of native and cross-platform print/page dialogs.

I also noticed that page dialog's owner is hardcoded as NULL in 
awt_PrintJob.cpp. This needs to be modified so that we could pass parent from WPrinterJob.java
                                     
2006-05-18



Hardware and Software, Engineered to Work Together