Click to See Complete Forum and Search --> : JDK1.2 Win32 Print Dialog


mhho92
September 22nd, 1999, 01:52 PM
JDK1.2 Win32 Print Dialog is not modal and if you click on the the underlying
app, the frame gets activated but it's not re-painting. This is really nasty.
I checked java.sun.com and contacted Sun's support with no satisfactory
result. Any suggestions?

By the way, the following does not work:
1) use MyJFrame.setEnabled(false) to disable all underlying frames so that
it doesn't get activated if the user clicks on any of the underlying frames.
However, when the Win32 Print Dialog closes, some other application's frame
would be activated (Say if you're running only MS Words and your Java app,
MS Words would take focus).
2) Putting up a Glasspane to intercept all input events doesn't work 'cause
the bug seems to be at an even lower level.

Currently trying java.awt.Component.disableEvents

Thanks.
Marshall