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.
[200405182245], jdk1.4.2_04 the behaviour of <default package> node is *chaotic* : 1, it isn't presented/visible in new project created with main class in some package 2, it is visible in new project created without main class 3, it disappears when last class/file is deleted from <default package> 4, it doesn't disapear when a new package in project is created (and <default package> is empty) 5, it doesn't appear when last package is deleted in project (and <default package> wasn't visible before). You see only empty [Source Packages] node see attached picture priority P2 'cause I think that it needs to be specified/fixed.
Created attachment 14997 [details] 5 examples mentioned in text
Please leave it assigne to me.
Notice: The final UI decision (Jano) is: The default package should be visible if and only if it contains something or there are no other packages under the packages root.
Comments to the behavior. 1) Is OK 2) Is OK 3) Is OK if there are other packages than default 4) Is WRONG and has to be fixed 5) Is WRONG and has to be fixed
So now it should work as specified. (May still be a bit chaotic :-)
[200406131800] 3, ok, if there's only <default package> then <default package> stays visible. if there is another package then <default package> disappears 4, ok 5, ok ->verified