My question revolves around the fact that Netbeans puts all the packages in a single alphabetical list, rather than in a hierarchical structure.
As far as Java is concerned, a package like a.b.c has no hierarchical relationship to a.b. Specifically, an import a.b.* will not include the classes in the package named a.b.c. But the files on the hard drive are stored hierarchically. It keeps them organized. I want that same organization in my IDE.
I would appreciate the advice and opinions of more experienced Java programmers.
Netbenas can actually show you packages in the hierarchical structure. Right-click in an empty space of the Projects window and choose desired display in the View Java packages as submenu (the last item in the context menu).
(Took me some time to discover this... )
Joined: May 30, 2011
Martin Vajsar wrote:Right-click in an empty space of the Projects window and choose desired display in the View Java packages as submenu
Oh thank you Martin. Many times thanks. This has been annoying me for a year as this project got slowly larger.
Bear Bibeault wrote: What's the problem?
The problem was that NetBeans didn't seem to be doing that. Now it does.