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.
2回以上JDialogクリックしたときに開くの重複を停止するにはどうすればよいですか?JButton
JDialog
JButton
あなたはできる:
そのダイアログをモーダルにします。
フラグを使用してboolean、ダイアログが既に開かれているかどうかを示します。ダイアログを開くときに設定し、ダイアログを閉じるときにクリアします。
boolean