Question

I have written a java applet which opens a JFrame (so when run in the browser, it will popup a small new window).

The problem is, when pressing one of the buttons of the window frame, there is a slight delay (cannot move the mouse for 2 or 3 sec) before the window will close/minimize/maximize. The hidden menu actions (accessed when pressing on the icon of the window, top left) work perfectly.

In a development environment non of the problems occur.

I'm currently using jdk 1.6 update 16.

Anyone an idea?

Was it helpful?

Solution

I have solved the issue in the mean time, maybe it will work in your situation as well.

I used to pack the interface items in the overridden "init"-function, but after doing all those in the "start"-function (also inherited from JFrame), the issue seems to be resolved.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top