Closed GoogleCodeExporter closed 9 years ago
From the Processing changelog:
"The 'online' boolean has been renamed to 'appletViewer'. The reason is that it
had nothing to do with whether a sketch was online (i.e. had a net connection),
but rather it would return true if the sketch was running inside a web browser
or applet viewer. (Technical version: whether a Java AppletContext existed.)
This caused some complaints/confusion."
http://wiki.processing.org/w/Changes
Hope this helps.
Original comment by gilbm...@gmail.com
on 22 Jun 2012 at 8:54
I was able to recreate the library in Eclipse, change all (two) instances of
"_myApplet.online" to "_myApplet.appletViewer", and recompile, and then open
several examples successfully. It looks like these simple changes (in
ControlP5.java and ControlWindow.java) did the trick.
Original comment by gilbm...@gmail.com
on 22 Jun 2012 at 9:51
Here's a zip file of the edited and recompiled library for anyone wanting to
use controlP5 0.7.5 with Processing 2.0a6 in the meantime before a new release.
(YMMV, this has not been thoroughly tested.)
Original comment by gilbm...@gmail.com
on 22 Jun 2012 at 9:54
Thanks alot for the comments and your recompiling! Cannot find the zip file
here. Can you upload it again or email it?
Thanks!
Original comment by konstant...@gmail.com
on 23 Jun 2012 at 11:44
Oh yeah, I guess the attachment didn't work. Here's a DropBox link instead:
http://dl.dropbox.com/u/13574910/controlP5.zip
I guess this renamed variable will mean controlP5 will have to have separate
Processing 1 and 2 versions (since in Java you can't test for the existence of
a variable; mentioning a non-existent variable at all causes an error at
compile time).
Original comment by gilbm...@gmail.com
on 23 Jun 2012 at 12:08
thanks man, works like a charm.
Original comment by rafael.s...@gmail.com
on 20 Jul 2012 at 11:36
the reference to processing's online variable has been removed with 0.7.6
Original comment by soj...@gmail.com
on 26 Aug 2012 at 3:07
Original issue reported on code.google.com by
konstant...@gmail.com
on 2 Jun 2012 at 9:59