What is the difference between 'isTouching(cls)' and '!getIntersectingObjects(cls).isEmpty()' (or 'getOneIntersectingObject(cls) != null')?
The first is a lot shorter, and easier to understand for beginners :)
Precisely - it's just added for convenience.
I clicked the link and it said
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved (the Greenfoot site was signifcantly altered in late 2011, which moved/removed many pages). Try going to the main Greenfoot site instead.
There seems to be an exception for when clicking "share" on the Mac OS build with JDK 7
Exception in thread "Thread-47" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at greenfoot.export.mygame.MyGameClient.<init>(MyGameClient.java:77)
at greenfoot.export.mygame.ExistingScenarioChecker.checkExistence(ExistingScenarioChecker.java:148)
at greenfoot.export.mygame.ExistingScenarioChecker.access$300(ExistingScenarioChecker.java:35)
at greenfoot.export.mygame.ExistingScenarioChecker$ScenarioWorker.construct(ExistingScenarioChecker.java:58)
at bluej.utility.SwingWorker$2.run(SwingWorker.java:129)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 6 more
Exception in thread "Thread-48" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at greenfoot.export.mygame.MyGameClient.<init>(MyGameClient.java:77)
at greenfoot.gui.export.ExportPublishPane$4.construct(ExportPublishPane.java:585)
at bluej.utility.SwingWorker$2.run(SwingWorker.java:129)
at java.lang.Thread.run(Thread.java:722)
It isn't working for me, it says that it is already installed (paraphrasing) on windows
bourne, thanks, I'm looking into it. There seems to be a small packaging problem causing this (with all OSes).
JetLennit, just uninstall your old version of Greenfoot before you install the new one. However, I suggest you hold off for now due to the above issue.
I've resolved the issue discovered by bourne (see above), but only the Windows package is fixed at the moment. I have made the others unavailable for now. I'm not sure when the Mac packages will be ready as they need to be signed, however I will post updates here.
The Ubuntu/Debian and generic packages are now updated to 2.3.0. The "standalone" (USB stick) and MacOS versions of 2.3.0 aren't yet available.
The link to the Ubuntu/Debian package is broken. It currently points to http://www.greenfoot.org/download/files/old/greenfoot-230.deb . I suppose you mean http://www.greenfoot.org/download/files/greenfoot-230.deb . The "old/" should be removed.
imacat, thanks - I've fixed that now.