OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 18 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18 Rev 151
Line 15... Line 15...
15
 
15
 
16
import org.openconcerto.erp.core.finance.accounting.action.ImpressionBalanceAction;
16
import org.openconcerto.erp.core.finance.accounting.action.ImpressionBalanceAction;
17
import org.openconcerto.erp.core.finance.accounting.model.BalanceModel;
17
import org.openconcerto.erp.core.finance.accounting.model.BalanceModel;
18
import org.openconcerto.sql.Configuration;
18
import org.openconcerto.sql.Configuration;
19
import org.openconcerto.ui.DefaultGridBagConstraints;
19
import org.openconcerto.ui.DefaultGridBagConstraints;
-
 
20
import org.openconcerto.ui.FontUtils;
20
import org.openconcerto.ui.state.JTableStateManager;
21
import org.openconcerto.ui.state.JTableStateManager;
21
import org.openconcerto.utils.GestionDevise;
22
import org.openconcerto.utils.GestionDevise;
22
 
23
 
23
import java.awt.Component;
24
import java.awt.Component;
24
import java.awt.GridBagConstraints;
25
import java.awt.GridBagConstraints;
Line 60... Line 61...
60
        c.weighty = 1;
61
        c.weighty = 1;
61
        c.fill = GridBagConstraints.BOTH;
62
        c.fill = GridBagConstraints.BOTH;
62
 
63
 
63
        final BalanceModel model = new BalanceModel();
64
        final BalanceModel model = new BalanceModel();
64
        final JTable table = new JTable(model);
65
        final JTable table = new JTable(model);
-
 
66
        table.setRowHeight(FontUtils.getPreferredRowHeight(table));
65
        new SwingWorker<String, Object>() {
67
        new SwingWorker<String, Object>() {
66
 
68
 
67
            @Override
69
            @Override
68
            protected String doInBackground() throws Exception {
70
            protected String doInBackground() throws Exception {
69
                model.getBalance();
71
                model.getBalance();