Here you can find the source of removeRow(JTable table, int row)
public static void removeRow(JTable table, int row)
//package com.java2s; //License from project: Open Source License import javax.swing.JTable; import javax.swing.table.DefaultTableModel; public class Main { public static void removeRow(JTable table, int row) { ((DefaultTableModel) table.getModel()).removeRow(row); }/* w w w. j a v a 2 s . c o m*/ }