NetBeans and Java flexibility supported by refactorying, it is exist everywhere in the editor.
I use only one level of Package tree. Another NetBeans good feature is that it adds import (uses) automatically if you type a class that is not exist in import section, it is a simple but powerfull feature that we are using all the time in NetBeans.
As I have saied before, it is not about Java, it is about IDE, NetBeans, I think Java is the same language since JBuilder and Visual Cafee days, but NetBeans and Eclipse are something different.
I don't want Object Pascal to become like Java, to work in a virtual machine and consumes memory, but I need Lazarus to become a rich ide, docked, source control support, and rich refactorying tool that is suitable for today's needs of software development.
I'm using Java for back end development: web services and web applications, but for client and desktop application I'm using Lazarus, and when I came back to Lazarus I miss that features that I have mentioned above.