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.

Bug 25958

Summary: MenuView.Menu could provide support for separators
Product: platform Reporter: Svata Dedic <sdedic>
Component: Window SystemAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: dsimonek, saubrecht
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 24304    

Description Svata Dedic 2002-07-24 11:00:41 UTC
It seems not possible to add separators to
explorer Menu views. It would be sufficient to
have a "tag node" that would be turned into a
Separator by the MenuView.Menu class, or if the
class constructed a separator iff
MenuView.Menu.createMenuItem() returned null
(currently null return values are not permitted) -
a subclass could insert separator into the
JPopupMenu directly.
Comment 1 David Simonek 2002-07-30 12:21:47 UTC
Yes, looks reasonable to me. Similar issue is 24304, this one is more
general.
Comment 2 Marian Mirilovic 2002-12-06 17:57:13 UTC
reassigne to Marek, new owner of ui subcomponents
Comment 3 mslama 2004-04-19 15:04:55 UTC
Assigning to Tim
Comment 4 Jan Chalupa 2004-11-01 16:56:28 UTC
Re-assigning Tim's issues to Dafe.
Comment 5 David Simonek 2005-05-02 16:47:09 UTC
Hm, I thought that MenuView is deprecated, but it is not, so this enh is still
valid.
Comment 6 David Simonek 2008-10-16 16:09:37 UTC
No plans for implementing this, perhaps someone from community can come with the patch.