B
Brandon McCombs
I have an existing program that has separate variables for a
DefaultTreeModel and a ListModel and someone suggested to me that I
create my own class that combines those 2 data structures using their
respective Interfaces. The question I have is if I do that will I need
to utilize methods such as addTreeModelListener() so that the components
of my application that currently are alerted to the DefaultTreeModel
changes (such as JTree) will still be alerted when my custom class is
used instead?
thanks
Brandon
DefaultTreeModel and a ListModel and someone suggested to me that I
create my own class that combines those 2 data structures using their
respective Interfaces. The question I have is if I do that will I need
to utilize methods such as addTreeModelListener() so that the components
of my application that currently are alerted to the DefaultTreeModel
changes (such as JTree) will still be alerted when my custom class is
used instead?
thanks
Brandon