I have a question, I would like to make a small program about diseases using JOptionPane
. But at the time of reading the variables that would be the names of each disease and the variable "disease" to later use it in a conditional if
, I open the windows of the reading of variables, for example:
enfermedad=JOptionPane.showinputdialog("Ingrese el nombre de la enfermedad");
up there all right, but to read the other variables I see the windows
herpesgenital=JOptionPane.showinputdialog("");
and I do not want them to appear.
How can I read data without it appearing when I execute it?
Thank you.