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.
[own build of 2006-05-03] It is not possible to create new class in BlueJ View when vertical scrollbar is visible. It's because the popup menu is different when user invokes it at free space vs. line containing some object (class, html file, xml ...). When the pane is full of classes then popup menu doesn't contain item "New" (because there is no free space). See atatched screenshot.
Created attachment 30242 [details] Screenshot attached...
not really a showstopper IMHO. people ought to use the toolbar or menu for creating new files. technical background: the view is done using ListView with is basically a list. the active context for popup menus is the node which it acts upon, which is usually the selected node. that's file in bluej view. files don't have a "new file" action on popup. only folders have. Now how come sometimes the new action is there? when the list is not long enough to fill whole space, then the remaining whitespace seems to have the parent node as context. In this case it means the folder. And when the list is longer than available space, then of course the scrollbar appears and there is no remaining whitespace. So I would consider this to be a bug in the sense that it's possible to get the popup on whitespace and that is allows to create the file there that way and access the actions of the folder. The fix would be to forbid this behavious and make it consistent.
*** Issue 75985 has been marked as a duplicate of this issue. ***
Change of the default owner.