OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 80 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 80 Rev 156
Line 238... Line 238...
238
 
238
 
239
        c.gridwidth = GridBagConstraints.REMAINDER;
239
        c.gridwidth = GridBagConstraints.REMAINDER;
240
        ElementComboBox comboUser = new ElementComboBox(true, 25);
240
        ElementComboBox comboUser = new ElementComboBox(true, 25);
241
        panelInfos.add(comboUser, c);
241
        panelInfos.add(comboUser, c);
242
 
242
 
-
 
243
        if (getTable().contains("ID_POLE_PRODUIT")) {
-
 
244
 
-
 
245
            c.gridx = 0;
-
 
246
            c.gridy++;
-
 
247
            c.gridwidth = 1;
-
 
248
            c.weightx = 0;
-
 
249
            final JLabel labelPoleProduit = new JLabel(getLabelFor("ID_POLE_PRODUIT"));
-
 
250
            labelPoleProduit.setHorizontalAlignment(SwingConstants.RIGHT);
-
 
251
            panelInfos.add(labelPoleProduit, c);
-
 
252
            c.gridx++;
-
 
253
            c.weightx = 1;
-
 
254
 
-
 
255
            c.gridwidth = GridBagConstraints.REMAINDER;
-
 
256
            ElementComboBox comboPole = new ElementComboBox(true, 25);
-
 
257
            panelInfos.add(comboPole, c);
-
 
258
            this.addView(comboPole, "ID_POLE_PRODUIT");
-
 
259
        }
-
 
260
 
243
        c.weighty = 1;
261
        c.weighty = 1;
244
        c.gridy++;
262
        c.gridy++;
245
        JPanel panelLayouter = new JPanel();
263
        JPanel panelLayouter = new JPanel();
246
        panelLayouter.setOpaque(false);
264
        panelLayouter.setOpaque(false);
247
        panelInfos.add(panelLayouter, c);
265
        panelInfos.add(panelLayouter, c);