I'm doing a mortgage program for my Computer Science Java class. I would like to find a way to use a single JOptionPane dialog box to have the user input the amount and the rate, both of which are doubles.
thank you
Printable View
I'm doing a mortgage program for my Computer Science Java class. I would like to find a way to use a single JOptionPane dialog box to have the user input the amount and the rate, both of which are doubles.
thank you
Why not code your own JDialog that has the two input fields in it.
Thank you for the reply. I am fairly new to Java. Can you please post an example as to how I would do
this?
Try the swing tutorial:
http://docs.oracle.com/javase/tutori...ts/dialog.html