Component (JTable table, Object value, boolean isSelected, final boolean hasFocus, int row, int column) { JPanel panel = new JPanel(); final Component component = super.getTableCellRendererComponent(table, ((Pair<?, ?>)value).getFirst(), isSelected, hasFocus, row, column); panel.add(component); final Component component1 = new BooleanTableCellRenderer().getTableCellRendererComponent(table, ((Pair<?, ?>)value).getSecond(), isSelected, hasFocus, row, column); panel.add(component1); return panel; }