"Export" exports the applet but not the html files

edited October 2013 in Using Processing

Hi I am Marcelo. I am new to Processing. I am using Processing 2 in Java Mode, in a MacBookPro, running MacOSX (10.6.8). Everything is Ok. Samples run well and my own sketches also run well, but when I click on the Export button, it automatically exports the current sketch as a Java applet (in fact, the little sign that appears besides the export button, says "Export application"). It opens a window and ask the platform -windows, mac and/or linux) and exports only the applet. I cannot find the html files, the export command is supposed to make, along with the html folder and the java applet embedded in the html files. No html files, as far as I can see. I've read the FAQ and the Troubleshooting sections, but no answers. I know that the way to export a Java applet is to go to the File menu and choose Export Application, but otherwise, if I click the export button, I get the html files. What am I doing wrong? Is the mode? I tried the other modes, and still the same problem. Thanks for your time and help! Marcelo

Answers

  • I guess, Processing 2 doesn't support applets... right?

  • Processing 2 exports Applications, but not Applets. Is there someone in the documentation that isn't clear about this?

  • Answer ✓

    In Processing 1.5.1, still available for download..., there were two distinct menus for exporting, one for applications and the other for applets. In 2.0, only the former remains.

    The recommended way, in 2.0, is to use the JavaScript mode. Which restricts you to sketches without any import statement. Otherwise, either use 1.5.1, or the Applet Maker tool.

  • Hi REAS and PhiLho, Thanks for your help.

Sign In or Register to comment.