This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It seems as though you can't undo "Create Class". I think this is also true for some of the refactorings as well, but I don't recall which. It should be easy to undo most operations if the user hasn't done anything after.