bonjour, j'essaye de personnalisé le Font et le Foreground d'une cellule pour la couleur ça marche mais la police ça marche pas voila le code que j'ai appliqué:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
TableColumn cC = jCreditInFine_table.getColumnModel().getColumn(0);
DefaultTableCellRenderer edC=new DefaultTableCellRenderer();
edC.setForeground(Color.BLUE);
edC.setBackground(Color.YELLOW);
// :!: 
Font fonte = new Font("Book Antiqua", Font.BOLD ,20);
edC.setFont(fonte) ;
//  :!: 
edC.setFocusable(false);	
cC.setCellRenderer(edC);