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.
Product Version: NetBeans IDE Dev (Build 200809020201) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) To reproduce: - create Mobile App with Hello MIDlet; - switch to Flow; - delete Form; - switch to Source. See 4 extra empty lines below getExitCommand(), 2 extra empty lines below switchDisplayable(Alert alert, Displayable nextDisplayable) If user adds/removes components many times, such gaps appear and grow up in many places thoughout the code.
That is true. Our approach was to leave managing source code to the developer outside guarded blocks. It may be difficult to recognize what should be erase and what should stay. So I'd rather leave it as it is because in my opinion it's not hitting usability of the Visual Designer. As usually if you have different opinion let me know, but most likely I wont be able to fix it for 6.5.