We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Is it possible to use option pane dialogs in processing.js? I was considering adding an input box to my program but when I copied the import code and the java option code it did not run.
Does the processing.js file need to be updated through processing's export to web function to get this to work or something else / not possible?
Thanks
Answers
If you meant Java's JOptionPane:
http://docs.Oracle.com/javase/8/docs/api/javax/swing/JOptionPane.html
Corresponding JS's functions are alert(), confirm() & prompt():
Of course by relying on any of those, Java-JS' cross-mode compatibility is lost! :|