Dépôt officiel du code source de l'ERP OpenConcerto
/trunk/OpenConcerto/src/org/openconcerto/erp/core/finance/accounting/ui/LettragePanel.java |
---|
36,6 → 36,7 |
import org.openconcerto.sql.users.rights.UserRightsManager; |
import org.openconcerto.sql.view.list.IListe; |
import org.openconcerto.ui.DefaultGridBagConstraints; |
import org.openconcerto.ui.FontUtils; |
import org.openconcerto.ui.JDate; |
import org.openconcerto.ui.TitledSeparator; |
import org.openconcerto.ui.warning.JLabelWarning; |
285,7 → 286,7 |
c.gridheight = 3; |
this.model = new LettrageModel(this.selCompte.getSelectedId()); |
JTable table = new JTable(this.model); |
table.setRowHeight(FontUtils.getPreferredRowHeight(table)); |
// AlternateTableCellRenderer.setAllColumns(table); |
for (int i = 0; i < table.getColumnCount(); i++) { |
// if (table.getColumnClass(i) == Long.class || table.getColumnClass(i) == |
693,7 → 694,7 |
} |
this.ecriturePanel.getListe().getRequest().setWhere(w); |
this.ecriturePanel.getListe().setSQLEditable(false); |
this.ecriturePanel.getListe().setModificationAllowed(false); |
this.model.setIdCompte(Integer.parseInt(idCpt.toString())); |
} |