Strange. is a part of the base Java 1.6 runtime (it’s found in rt.jar). But Netbeans throws errors on it unless you include the METRO 2.0 jar file as a library to compile against (you don’t need to package it).

Or at least that’s the case on Windows. On OS X it just works.

What a waste of an evening