Here you can find the source of setClickCountToStartEditing(JTable table, int count)
public static void setClickCountToStartEditing(JTable table, int count)
//package com.java2s; // LICENSE: This file is distributed under the BSD license. import javax.swing.DefaultCellEditor; import javax.swing.JTable; public class Main { public static void setClickCountToStartEditing(JTable table, int count) { ((DefaultCellEditor) table.getDefaultEditor(String.class)) .setClickCountToStart(count); }/*w w w . ja va 2s .c o m*/ }