JFileChooser unexpected token Processing 1.2
in
Programming Questions
•
3 years ago
I tried to compile the example on the wiki,
Open Files through a GUI, but my version of Processing, 1.2, does not recognize the
JFileChooser object.
—
http://jonobr1.com/
Do I have to import something more than Swing? Is this a bug that I should post on the bug tracker? Maybe something else?
The error:
- processing.app.debug.RunnerException: unexpected token: JFileChooser
- at processing.app.Sketch.preprocess(Sketch.java:1326)
- at processing.app.Sketch.preprocess(Sketch.java:1205)
- at processing.app.Sketch.build(Sketch.java:1568)
- at processing.app.Sketch.build(Sketch.java:1553)
- at processing.app.Editor$DefaultRunHandler.run(Editor.java:1485)
- at java.lang.Thread.run(Thread.java:637)
—
http://jonobr1.com/
1