Hello!
I have a JFram, a JButton and wonder if it is possible to somehow call the windowClosing-method from a click at the JButton. The reason why I'm using windowClosing instead of windowClosed is when someone click at the JButton, or the default close button in the right corner, the program ask if one really want to exit the program.
Hank