Product Version = NetBeans Platform 7.0 (Build 201104080000)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_25
Runtime = Java HotSpot(TM) Server VM 20.0-b11
If you define more than one top-level class in the same file there is a hint applied to all but the first "Multiple top-levl classes in file", however there is no quick-fix attached to this hint, i.e. alt-enter on the line is useless. There is an obvious refactoring to attach to this hint, move the offending class to its own source file. Such a refactoring should be implemented as the natural "fix".