Here you can find the source of jtable$convertRowIndexToModel(JTable table, int index)
public static int jtable$convertRowIndexToModel(JTable table, int index)
//package com.java2s; //License from project: Open Source License import java.lang.reflect.Method; import javax.swing.JTable; public class Main { public static int jtable$convertRowIndexToModel(JTable table, int index) { try {//from w w w . j a va 2 s . com Method e = table.getClass().getMethod("convertRowIndexToModel", new Class[] { Integer.TYPE }); return ((Integer) e.invoke(table, new Object[] { Integer.valueOf(index) })).intValue(); } catch (Exception var3) { var3.printStackTrace(); return index; } } }