Why are you extending JFrame at all? It looks like you're a bit confused about inheritance, so I recommend using instances of JFrame instead of extensions.
Type: Posts; User: KevinWorkman
Why are you extending JFrame at all? It looks like you're a bit confused about inheritance, so I recommend using instances of JFrame instead of extensions.
You haven't posted an SSCCE of your code, so it's a little hard to tell what you're actually doing.
Your call to dispose() will presumably call whatever you've extended, probably JFrame. I can't...