Line 29 shows the NbPreferences class from the NetBeans APIs. In a web application. The preference is stored and loaded, however I have no idea where it is stored. Not in the NetBeans user directory, which was the point of the exercise. Maybe in internal memory or something like that. Still, despite the overhead of all the JARs, it is fun to see this on the web. There can only be very limited situations where the NetBeans APIs can be useful on the web, since they're intended for desktop development.