SolveErrors
Swing / AWT / SWT

Dialog focus problem on java 7 and mac osx

21 views

Hi there,

I'm currently validating a swing application that runs on a browser (on an applets).
I came across with a problem for the java JRE 7 released by Oracle - this was not happening on Applet JRE 6 (1.6.0_33)

Every time I open a dialog within my application, that dialog comes to the front of the browser window but it does not request the focus as expected. THIS HAPPENS ONLY WHEN THE APPLET RUNS ON THE BROWSER.
Here is a small program to show the problem: