how to make single click action to work as double click, in windows we have functionality like when we click on folder it will open on single click.in java is there is any way to do it?
on one click it should select the folder and open the folder.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should generate a double-click event from the “single-click” handler.
See MouseEvent for the meaning of all the parameters – the underscores are things you have to fill and the two is the number of clicks. Remember that you can use most of information received in the event object in the single-click handler and just change the number of clicks.