Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4969336
Votes 0
Synopsis "Print to file" dialog is opened below the print dialog
Category java:classes_2d
Reported Against 1.5 , tiger-beta
Release Fixed 1.5(tiger-b36)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4775862 , 4948179
Submit Date 16-DEC-2003
Description
Using cross-platform print dialog and printing to a file, the print dialog stays on top when the JFileChooser is shown.  This is using Window Maker window manager in RH AS 2.1.
Work Around
N/A
Evaluation
===========================================
Caused by call to "setAlwaysOnTop" which is a fix for 4775862.

  xxxxx@xxxxx   2003-12-16
============================================

Removed setAlwaysOnTop and modified fix to get current active Frame/Dialog as the parent of print dialog.  New frame is created only when there is no active Dialog/Frame.

  xxxxx@xxxxx   2003-12-16
=====================================
Comments
  
  Include a link with my name & email   

Submitted On 17-FEB-2004
bikestain
This fix has reopened the issue described in 4775862.
As I veridfied in Microsoft Spy++, the print dialog does 
not have a main JFrame as an owner. Instead it has 
an invisible parent of awt.Frame class. That is why 
when the main Frame is reactivated, the print dialog 
does not come up on top of it. 
The problem must be fixed either by introducing a new 
Owner parameter or by locating an application Frame 
window correctly.



PLEASE NOTE: JDK6 is formerly known as Project Mustang