Modal Dialog Boxes with Optional Timeout

For a kiosk client, I needed modal dialog boxes that had the option to timeout in case the user abandons the session with a dialog open. Also, there are often cases where modal Error and Warning boxes are preferred to prevent them from getting lost behind other screens.

Others can be easily made from javax.swing.JOptionPane.

This attached script was exported from a global shared.gui library in v7.8.3. It includes the following functions:

_closeFrameOnTimeOut (called only by dialog functions below for timeout option)
showCbxInputDialog (Drop-down [Combobox] Input Selection)
showStrInputDialog (String Input)
showConfirmDialog (Confirm Box [Yes/No with optional Cancel])
showErrorMessage
showInfoMessage
showWarningMessage

Hope these are helpful.

Regards,

I find this useful. Thank you.