This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes TreeSelectionListener() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "TreeSelectionListener()" Watch "TreeSelectionListener()" New topic
Author

TreeSelectionListener()

m pap
Greenhorn

Joined: Jun 13, 2001
Posts: 13
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

Joined: Jan 30, 2000
Posts: 18671
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.


"I'm not back." - Bill Harding, Twister
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: TreeSelectionListener()
 
Similar Threads
Tree and drawing within the same panel
Trees
how to add a new node to already existing node but i dont know the parent node
TreeSelectionListener interface valueChanged()
Swing back to AWT