I have a GKC button on the main toolbar that unflips every flipped counter; basically an 'end of (game) turn' function. Much easier than having to do all that manually. A game turn consists of a number of impulses.
But, people do accidentally press this button during a game turn. This can get annoying.
Is there a way to have a 'pop-up' window that activates when the GKC button is pushed that states the familiar 'Are you sure' with 2 action buttons of 'OK' & 'Cancel'. Pressing OK will allow the GKC action to proceed. Pressing Cancel will stop the GKC from running.
I appreciate that there is an Alert capability for beanshell expressions, but I feel that this may not be relevant here. Could be so totally wrong about that feeling though.