1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| //poser un ecouteur sur la combo du groupe de CreationCourrierPanel
groupeCourriersCbk.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
System.out.println("CreationCourrierPanel dans ecouteur getGroupeCourriers()=" + getGroupeCourriers());
String[] columnNames = {"Code", "Libelle"};
int[] types = {UTJTable.TYPE_ALPHA, UTJTable.TYPE_ALPHA};
int[] taillesColonnes = {5,40};
int[] decim = {0,0};
int[] aligns = {SwingConstants.LEFT, SwingConstants.LEFT};
boolean[] zeroesView = {false, false};
UTJTable table = new UTJTable(columnNames, types, taillesColonnes, decim, aligns, zeroesView);
typeDocIE = new UTJInviteEntry("Choix du type de document", table,
TypeDocument.getListeDocumentsParGroupe((String)groupeCourriersCbk.getSelectedKey()), 0, 1, new UTKeyedItemString());
System.out.println("CreationCourrierPanel dans ecouteur avant return TypeDocument.getListeDocumentsParGroupe(codeGroupe)=" + TypeDocument.getListeDocumentsParGroupe((String)groupeCourriersCbk.getSelectedKey()));
detailPanel.add(typeDocIE, new GridBagConstraints(1, 2, 2, 1, 1.0, 50.0
,GridBagConstraints.WEST, GridBagConstraints.WEST, new Insets(5, 5, 5, 5), 0, 0));
System.out.println("CreationCourrierPanel dans ecouteur avant refreshlabel");
là j'ai essayé plein de trucs comme frame.refresh() ...;
} |