Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TreeSelectionListener()

 
m pap
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone please explain to me what TreeSelectionListener()or a TreeSelectionEvent is and what they do?
My main reason for asking is beacuse when i try to use a DefaultTreeModel method...RemoveNodeFromParent(), i get a :
Exception occurred during event dispatching:
java.lang.NullPointerException
and it referrs back to my use of TreeSelectionListener() and TreeSelectionEvent.
If you can give any help or guidence, it would help greatly. Thank you, mpap
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, these are all classes found in the javax.swing package, which has nothing to do with XML. I'll move this topic to the Swing forum instead, where someone will hopefully answer it for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic