News

When a button is clicked, the windows closes and the array index of the element selected is returned to the program. Below is a simple showOptionDialog example, followed by an image of the dialog box ...