i'm using StandardGame. i launch StandardGame from a separate java swing window. my question is: can i hook into the kill routine in StandardGame? i want to be able to open a dialog window saying "are you sure you want to quit the game?" when someone clicks the "X" kill window button in the window chrome. obviously, i should be able to cancel the kill command if the user clicks "no," as well as continue w/ the normal cleanup and disposal if they click "yes."
This is less a StandardGame question and more of a general question of working with the OpenGL window. Perhaps Mojo or Renanse know how to do this? I haven't looked into this before, but I'm assuming it's possible. If you can figure out how to do it I'd be happy to add something to StandardGame to make it more accessible.