Re: [NetBeans]changing menuitems



Mark Space wrote:

Daniel Moyne wrote:

Thanks very interesting idea but I still need the instance of GenListView
to use method setEnabledMenu1.
Thanks


Yes you do need an instance of GenListView. Is that a problem? I
didn't see any request to change that in the original problem statement.
You needed an instance of GenListView in your code as well....
No but both you and me basically have the same approach once you have access
to the instance of GenListView ; the other interesting approach if possible
would be to add a special listner in GenListView to some particular events
generated by other classes (like request to change menus status) but I do
not know how to design this.
Thanks.
.