What statement gives that error?
if toString is a method it needs an ending () to say so.
Type: Posts; User: Norm
What statement gives that error?
if toString is a method it needs an ending () to say so.
The JOptionPane class's methods only return one value so it wouldn't support a dialog with more than one drop down.
If you want a dialog window that a user can select more than one thing, you will...
There are other versions of the showConfirmDialog() method that will show the contents of an array in a combo box format. Look at the API doc.