Java examples for Swing:JTable Row
set JTable Row Lines
//package com.java2s; import javax.swing.JTable; public class Main { public static void setRowLines(JTable table, int row, int lines) { if (lines == 0) lines = 1;// ww w .j a va 2s .c o m table.setRowHeight(row, lines * table.getRowHeight()); } }