Q. How do you close a JFrame when the close button is clicked?

जब क्लोज़ बटन पर क्लिक किया जाता है तो आप JFrame को कैसे बंद करते हैं?

A
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
B
setClose()
C
closeWindow()
D
dispose()

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment