Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JTree mouse click event need to know click on root handle("+"/"-")button?

843804Mar 4 2005 — edited May 5 2005
I have JTreeTable and I have add mouse listener to table. I am displying tree in one column.
In Mouse click event I want to know I click on root handle button ("+" / "-" to expand/collapse tree ) or not? If I click on root handle then perform some action.
Actually my problem I am performing some action in double click event and when i fastly click on "+"/"-" (root handle)buttons then it expand and collase tree
this is ok but also preform double click process..my problem is if user double click on lable then perform action but not perfrom when user click on +/- buttons.....How to solve this problem???? any idea??
thanks,
-Jasmin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2005
Added on Mar 4 2005
2 comments
272 views