Expand/collapse a folder on click on arrow icon not on foldericon
843806Aug 3 2009 — edited Aug 3 2009my foldernode has two icons and text display to display the folder node.
I have a specific requirement that,
1. on click of arrow icon only(</down arrow), the folder has to expand and collapse
2. on click of folder(expand/collapse) icon or name of the folder, it has to select it not expand or collapse.
The renderer is taking care about showing folder expand/collapse icon as well as arrow icons.
I have a mouse handler for clicking action, but before reaching mouseClicked(), itself the expand/collapse was occurring.
But as per java api, on click of arrow icon, folder icon and the name of the folder the expand/collapse actions are happening, hope definitely there is a way to achieve my requirement. I am trying to analyze at different place.
I need the experts advise to proceed, please advise.
Sorry i am unable to attach the image here.