Here you can find the source of startEditingAtCell(JTable table, int row, int column)
public static void startEditingAtCell(JTable table, int row, int column)
//package com.java2s; // LICENSE: This file is distributed under the BSD license. import javax.swing.*; public class Main { public static void startEditingAtCell(JTable table, int row, int column) { table.editCellAt(row, column);/* www . j a v a2s .co m*/ table.getEditorComponent().requestFocusInWindow(); } }