|
It looks like FileSystemModel implements TreeModel which is not mutable, ie, you cannot add and delete nodes in this model. You can add and delete nodes in a DefaultTreeModel.
You have to explicitly use/set a DefaultTreeModel to get this kind of behavior.
|