Closing one JFrame when two JFrames are running in same application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajs
    New Member
    • Mar 2008
    • 36

    Closing one JFrame when two JFrames are running in same application

    Hi! I m facing a problem that I want to close one JFrame when two are running simultaneously. .
    How can it be done??????
  • sukatoa
    Contributor
    • Nov 2007
    • 539

    #2
    Originally posted by pankajs
    Hi! I m facing a problem that I want to close one JFrame when two are running simultaneously. .
    How can it be done??????
    You may use dispose() method...

    You may read this. It may helps you out...

    sukatoa.

    Comment

    Working...