Mary Pana

Greenhorn
+ Follow
since Aug 24, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mary Pana

Rob Spoor wrote:You're welcome. Did you know that you can find the source yourself? It's in a file called "src.zip" that's located inside the JDK main folder.


I didn't!! thank you again and sorry for the late reply!
12 years ago
Hi,

I have a JTable, custom cell editors obtained extending AbstractCellEditor.
Everything work fine.
However, the editing starts after a single click on the cell, but I want the editing to start after DOUBLE click.
I've seen there's a nice method in DefaultCellEditor : setClickCountToStart(int), but of course nothing similar for AbstractCellEditor.

Is there a way to start editing after a double click?
Ok I can detect double clicking using mouseEvent and using editCellAt(int,int), but of course the editing starts after the first click....

Thanks in advance!
12 years ago