I'm trying to get three different inputs from the user in one JOptionPane.showInputDialog. I figured out how to use the JOptionPane.showMessageDialog to print any number of outputs, I don't need the whole code just the few lines that will allow me to get three inputs from the users. I need to do calculations on them too. Thank you
Using one of Zack's quotes:
Originally Posted by Zack
The message argument to a JOptionPane#showXxxDialog method can be any object.
If you pass a JPanel with appropriate layout and components, it will be displayed in the JOptionPane and any editable text components, combo boxes etc. will be available for user input.
Did you try-out anything yet?
Originally Posted by hfbroady