Loading...
Logo
Processing Forum

Java Examples: HashMap class

in General Discussion  •  Other  •  8 months ago  
The HashMap Class example distributed with Processing 2.0b7 won't compile because "Iterator" is unknown. It needs "import java.util.*;" -- at least that makes it compile and work. I am a total novice Processing user and it's a long time since I used Java, so there may well be other ways of making the example work, but this seems pretty clean.

Martin

Replies(1)

Yes, it is a known problem, lot of example sketches are broken in 2.0b7 because Processing no longer import automatically lot of Java classes. Thanks for sharing your tip.