By default MouseClicked event starts with one click. I have one in a JTextPane but I want to start with double click. Is it possible?
MouseClicked
JTextPane
You can compute the time lapsed between consecutive clicks. Compare it with a threshold value and decide yourself whether it is a double click or not.