0

JFrame を開く Java アプレットを作成しました (ブラウザで実行すると、小さな新しいウィンドウがポップアップ表示されます)。

問題は、ウィンドウ フレームのボタンの 1 つを押すと、ウィンドウが閉じる/最小化/最大化される前に、わずかな遅延 (2 または 3 秒間マウスを動かすことができない) があることです。非表示のメニュー アクション (ウィンドウの左上のアイコンを押してアクセス) は完全に機能します。

開発環境では、問題は発生しません。

現在、jdk 1.6 update 16 を使用しています。

誰でもアイデアはありますか?

4

1 に答える 1

0

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.

于 2009-11-02T08:34:26.353 に答える