OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 80 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 80 Rev 142
Line 22... Line 22...
22
import javax.swing.table.DefaultTableCellRenderer;
22
import javax.swing.table.DefaultTableCellRenderer;
23
 
23
 
24
public class GestionChequesRenderer extends DefaultTableCellRenderer {
24
public class GestionChequesRenderer extends DefaultTableCellRenderer {
25
 
25
 
26
    private final static Color couleurChequeValide = new Color(255, 128, 64);
26
    private final static Color couleurChequeValide = new Color(255, 128, 64);
27
    private static final DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.MEDIUM);
27
    private final DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.MEDIUM);
28
 
28
 
29
    @Override
29
    @Override
30
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
30
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
31
        final Component res = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
31
        final Component res = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
32
        final Color fgColor;
32
        final Color fgColor;