Here you can find the source of getRenderedComponent(JTable table, Object value, int row, int column)
public static Component getRenderedComponent(JTable table, Object value, int row, int column)
//package com.java2s; //License from project: Apache License import javax.swing.*; import java.awt.*; public class Main { public static Component getRenderedComponent(JTable table, Object value, int row, int column) { return table.getCellRenderer(0, column).getTableCellRendererComponent(table, value, false, false, row, column);//from w w w . jav a2s . c o m } }