[Java-gnome-developer] TreeView mouse location
Brought to you by:
afcowie
From: Igor F. <if...@re...> - 2005-06-17 14:37:58
|
Hi, I'm trying to get context-sensitive popup menus to appear in a tree view. I want to be able to figure out which row the mouse is over in my popup handler method (which uses MouseListener). The problem is that I can't find anything that will tell me the location of the mouse over the TreeView, only the current selection, so if I click on anything other than the currently selected item, this won't work. Is there any convenient way I can extract this information? Thanks, Igor |