We are about to switch to a new forum software. Until then we have removed the registration on this forum.
processing 3.3.5
import static javax.swing.JOptionPane.*;
void draw() {
final String id = showInputDialog("Please enter new ID");
if (id == null) exit();
else if ("".equals(id)){
showMessageDialog(null, "Empty ID Input!!!",
"Error", ERROR_MESSAGE);
}
}
Answers
Example for you to try.
Kf
wow,really complicated! Thank you very much