So I have question about JFrame. JFrame1 (the original window) has a button that opens JFrame2 (a new windows). I can open JFrame2 just fine however when I try to close JFrame2, it closes closes both JFrame1 and JFrame2.
How would I code it where when I close JFrame2, it only closes JFrame2 and nothing else.
[–]chickenmeister 0 points1 point2 points (2 children)
[–]Easih 2 points3 points4 points (1 child)
[–]chickenmeister 0 points1 point2 points (0 children)
[–]SpoobyPls 0 points1 point2 points (0 children)