Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は自分の GUIをここで見るようにしていますが、Java の pumpevents メソッドがあまりにも多くの時間を話していることがわかりました。解決策はありますか???? ポンプ イベント 詳細ポンプ イベント 詳細
提供した GUI でインスタンス化するオブジェクトが多すぎます。いくつかのフィールドを静的にし、作成する前にそれらがすでに存在するかどうかを確認してください... if..then... [Singleton Concept]。