Exemplo n.º 1
0
  private void jbInit() throws Throwable {
    getInternalFrame().addItemChangedListener(this);

    // Buttons.
    String[] aButton = {
      PanelBasis.ACTION_UPDATE,
      PanelBasis.ACTION_SAVE,
      PanelBasis.ACTION_DELETE,
      PanelBasis.ACTION_DISCARD
    };
    enableToolsPanelButtons(aButton);

    // border = BorderFactory.createEmptyBorder(10, 10, 10, 10);
    // setBorder(border);

    // Das Aussenpanel hat immer das Gridbaglayout.
    gridBagLayoutAll = new GridBagLayout();
    setLayout(gridBagLayoutAll);

    // Ab hier Ansprechpartnerfelder.
    wlaGueltigAb = new WrapperLabel();
    LPMain.getInstance();
    wlaGueltigAb.setText(LPMain.getTextRespectUISPr("lp.gueltigab"));
    wdfGueltigAb = new WrapperDateField();
    wdfGueltigAb.setMandatoryFieldDB(true);

    wlaTitel = new WrapperLabel();
    wlaNtitel = new WrapperLabel();
    wlaVorname = new WrapperLabel();
    wlaGebDatum = new WrapperLabel();
    LPMain.getInstance();
    wlaTitel.setText(LPMain.getTextRespectUISPr("lp.titel"));
    LPMain.getInstance();
    wlaNtitel.setText(LPMain.getTextRespectUISPr("lp.ntitel"));
    LPMain.getInstance();
    wlaVorname = new WrapperLabel(LPMain.getTextRespectUISPr("lp.vorname"));
    wlaGebDatum.setText(LPMain.getTextRespectUISPr("pers.personalangehoerige.geburtsdatum"));

    wcbVersteckt.setText(LPMain.getTextRespectUISPr("lp.versteckt"));
    wcbNewsletterEmpfaenger.setText(
        LPMain.getTextRespectUISPr("part.ansprechpartner.newsletterempfaenger"));

    wlaAbteilung = new WrapperLabel(LPMain.getTextRespectUISPr("lp.abteilung"));
    wtfAbteilung = new WrapperTextField();

    wtfVorname = new WrapperTextField();
    wdfGebDatum = new WrapperDateField();
    wcoAnrede = new WrapperComboBox();
    wtfTitel = new WrapperTextField();
    wtfNtitel = new WrapperTextField();

    wtfAnsprechpartnerfunktion = new WrapperTextField();
    wtfAnsprechpartnerfunktion.setActivatable(false);
    wtfAnsprechpartnerfunktion.setMandatoryFieldDB(true);

    wbuAnsprechpartnerfunktion = new WrapperButton();
    wbuAnsprechpartnerfunktion.setText(LPMain.getTextRespectUISPr("part.ansprechpartner_funktion"));
    wbuAnsprechpartnerfunktion.setActionCommand(ACTION_SPECIAL_FLR_ANSPRECHPARTNER_FUNKTION);
    wbuAnsprechpartnerfunktion.addActionListener(this);

    // gotobutton: 3 Anstatt des WrapperButtons den WrapperGotoButton
    // verwenden
    wbuAnsprechpartner = new WrapperGotoButton(WrapperGotoButton.GOTO_PARTNER_AUSWAHL);
    wbuAnsprechpartner.setText(LPMain.getTextRespectUISPr("button.ansprechpartner.long"));
    wbuAnsprechpartner.setActionCommand(ACTION_SPECIAL_FLR_ANSPRECHPARTNER);
    wbuAnsprechpartner.addActionListener(this);

    wtfAnsprechpartner = new WrapperTextField();
    wtfAnsprechpartner.setMandatoryFieldDB(true);

    wlaBemerkung = new WrapperLabel(LPMain.getTextRespectUISPr("lp.bemerkung"));
    wlaBemerkung.setVerticalAlignment(SwingConstants.NORTH);
    wefBemerkung =
        new WrapperEditorFieldTexteingabe(
            getInternalFrame(), LPMain.getTextRespectUISPr("lp.bemerkung"));

    wlaDurchwahl = new WrapperLabel();
    wlaDurchwahl.setText(LPMain.getTextRespectUISPr("lp.durchwahl"));
    wlaDurchwahl.setMinimumSize(new Dimension(170, Defaults.getInstance().getControlHeight()));
    wlaDurchwahl.setPreferredSize(new Dimension(170, Defaults.getInstance().getControlHeight()));

    wtfDurchwahl = new WrapperTelefonField(PartnerFac.MAX_KOMMART_INHALT);
    wtfDurchwahl.setIstAnsprechpartner(true);
    wtfDurchwahl.setMinimumSize(new Dimension(170, Defaults.getInstance().getControlHeight()));
    wtfDurchwahl.setPreferredSize(new Dimension(170, Defaults.getInstance().getControlHeight()));

    wlaEmail = new WrapperLabel();
    LPMain.getInstance();
    wlaEmail.setText(LPMain.getTextRespectUISPr("lp.email"));
    wlaEmail.setMinimumSize(new Dimension(60, Defaults.getInstance().getControlHeight()));
    wlaEmail.setPreferredSize(new Dimension(60, Defaults.getInstance().getControlHeight()));
    wtfEmail = new WrapperEmailField();

    LPMain.getInstance();
    wlaFremdsystem =
        new WrapperLabel(LPMain.getTextRespectUISPr("part.ansprechpartner.fremdsystem"));
    wtfFremdsystem = new WrapperTextField(30);

    wlaFaxdurchwahl = new WrapperLabel();
    LPMain.getInstance();
    wlaFaxdurchwahl = new WrapperLabel(LPMain.getTextRespectUISPr("lp.faxdurchwahl"));
    wtfFaxdurchwahl = new WrapperTextField(PartnerFac.MAX_KOMMART_INHALT);

    wlaHandy = new WrapperLabel();
    LPMain.getInstance();
    wlaHandy = new WrapperLabel(LPMain.getTextRespectUISPr("lp.handy"));
    wtfHandy = new WrapperTelefonField(PartnerFac.MAX_KOMMART_INHALT);

    wlaDirektfax = new WrapperLabel();
    LPMain.getInstance();
    wlaDirektfax = new WrapperLabel(LPMain.getTextRespectUISPr("lp.direktfax"));
    wtfDirektfax = new WrapperTextField(PartnerFac.MAX_KOMMART_INHALT);

    wlaSort = new WrapperLabel();
    LPMain.getInstance();
    wlaSort = new WrapperLabel(LPMain.getTextRespectUISPr("label.sortierung"));
    wtfSort = new WrapperTextNumberField();
    wtfSort.setMandatoryFieldDB(true);
    wtfSort.setMinimumValue(new Integer(0));
    wtfSort.setMaximumDigits(4);
    wtfSort.setMaximumValue(new Integer(9999));

    wbuPasswort = new WrapperButton(LPMain.getTextRespectUISPr("part.ansprechpartner.passwort"));
    wbuPasswort.addActionListener(this);
    wbuPasswort.setActionCommand(ACTION_SPECIAL_PASSWORD);

    jpaWorkingOn = new JPanel(new MigLayout("wrap 8", "[25%][10%][20%][10%][10%][10%][20%]"));

    // Actionpanel von Oberklasse holen und einhaengen.
    panelButtonAction = getToolsPanel();
    add(
        panelButtonAction,
        new GridBagConstraints(
            0,
            0,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTHWEST,
            GridBagConstraints.HORIZONTAL,
            new Insets(0, 0, 0, 0),
            0,
            0));
    add(
        jpaWorkingOn,
        new GridBagConstraints(
            0,
            1,
            1,
            1,
            1.0,
            1.0,
            GridBagConstraints.SOUTH,
            GridBagConstraints.BOTH,
            new Insets(0, 0, 0, 0),
            0,
            0));

    // Statusbar an den unteren Rand des Panels haengen.
    add(
        getPanelStatusbar(),
        new GridBagConstraints(
            0,
            2,
            1,
            1,
            1.0,
            0.0,
            GridBagConstraints.CENTER,
            GridBagConstraints.BOTH,
            new Insets(0, 0, 0, 0),
            0,
            0));

    // Ab hier einhaengen.
    // Zeile

    jpaWorkingOn.add(wbuAnsprechpartner, "growx");
    jpaWorkingOn.add(wcoAnrede, "growx, width 70:70:70");
    jpaWorkingOn.add(wtfAnsprechpartner, "growx");
    jpaWorkingOn.add(wlaGebDatum, "growx, width 70:70:70");
    jpaWorkingOn.add(wdfGebDatum, "growx");
    jpaWorkingOn.add(wlaGueltigAb, "growx");
    jpaWorkingOn.add(wdfGueltigAb, "growx, span2");

    jpaWorkingOn.add(wcbNewsletterEmpfaenger, "growx");
    jpaWorkingOn.add(wlaVorname, "growx");
    jpaWorkingOn.add(wtfVorname, "growx");
    jpaWorkingOn.add(wlaTitel, "growx");
    jpaWorkingOn.add(wtfTitel, "growx");
    jpaWorkingOn.add(wlaNtitel, "growx, width 50:50:50");
    jpaWorkingOn.add(wtfNtitel, "growx, span2");

    jpaWorkingOn.add(wbuAnsprechpartnerfunktion, "growx");
    jpaWorkingOn.add(wtfAnsprechpartnerfunktion, "growx, span 2");
    jpaWorkingOn.add(wlaAbteilung, "growx");
    jpaWorkingOn.add(wtfAbteilung, "growx, span 3, wrap");

    jpaWorkingOn.add(wlaBemerkung, "top, growx");
    jpaWorkingOn.add(wefBemerkung, "grow, span");
    iZeile++;
    jpaWorkingOn.add(wlaDurchwahl, "growx");
    jpaWorkingOn.add(wtfDurchwahl, "growx, span 2");
    jpaWorkingOn.add(wlaEmail, "growx, span 2");
    jpaWorkingOn.add(wtfEmail, "growx, span");
    iZeile++;
    jpaWorkingOn.add(wlaFaxdurchwahl, "growx");
    jpaWorkingOn.add(wtfFaxdurchwahl, "growx, span 2");
    jpaWorkingOn.add(wlaHandy, "growx, span 2");
    jpaWorkingOn.add(wtfHandy, "growx, span");
    iZeile++;
    jpaWorkingOn.add(wlaDirektfax, "growx");
    jpaWorkingOn.add(wtfDirektfax, "growx, span 2");
    jpaWorkingOn.add(wlaFremdsystem, "growx, span 2");
    jpaWorkingOn.add(wtfFremdsystem, "growx, span");
    iZeile++;
    jpaWorkingOn.add(wlaSort, "top, growx");
    jpaWorkingOn.add(wtfSort, "top, growx, span 2");

    if (DelegateFactory.getInstance()
        .getTheJudgeDelegate()
        .hatRecht(com.lp.server.benutzer.service.RechteFac.RECHT_LP_DARF_VERSTECKTE_SEHEN)) {
      jpaWorkingOn.add(wcbVersteckt, "skip 2, growx, width 80:80:80");
    } else {
      jpaWorkingOn.add(new WrapperLabel(""), "skip 2, growx");
    }

    jpaWorkingOn.add(wbuPasswort, "growx");

    // Zeile

    createAndSaveAndShowButton(
        "/com/lp/client/res/book_open2.png",
        LPMain.getTextRespectUISPr("part.partner.export.vcard"),
        ACTION_SPECIAL_VCARD_EXPORT,
        null);
  }
  private void jbInit() throws Throwable {
    getInternalFrame().addItemChangedListener(this);

    wlaGestehungspreis =
        new WrapperLabel(LPMain.getInstance().getTextRespectUISPr("lp.gestehungspreis"));
    wnfGestehungspreis = new WrapperNumberField();
    wnfGestehungspreis.setActivatable(false);
    wnfGestehungspreis.setFractionDigits(iPreiseUINachkommastellen);
    wlaWaehrungGestehungspreis = new WrapperLabel(waehrungCNr);
    wlaWaehrungGestehungspreis.setHorizontalAlignment(SwingConstants.LEADING);

    wlaMinverkaufspreis =
        new WrapperLabel(LPMain.getInstance().getTextRespectUISPr("lp.minverkaufspreisshort"));
    wnfMinverkaufspreis = new WrapperNumberField();
    wnfMinverkaufspreis.setActivatable(false);
    wnfMinverkaufspreis.setFractionDigits(iPreiseUINachkommastellen);
    wlaWaehrungMinverkaufspreis = new WrapperLabel(waehrungCNr);
    wlaWaehrungMinverkaufspreis.setHorizontalAlignment(SwingConstants.LEADING);

    wcbWirktNichtInVerkaufspreisfindung =
        new WrapperCheckBox(
            LPMain.getInstance()
                .getTextRespectUISPr("part.kundesoko.artikel.wirktnichtinpreisfindung"));

    // PJ 17390
    ParametermandantDto parameter =
        (ParametermandantDto)
            DelegateFactory.getInstance()
                .getParameterDelegate()
                .getParametermandant(
                    ParameterFac.PARAMETER_PREISBASIS_VERKAUF,
                    ParameterFac.KATEGORIE_KUNDEN,
                    LPMain.getTheClient().getMandant());

    if (parameter.getCWert() != null) {

      iPreisbasis = (Integer) parameter.getCWertAsObject();
    }

    if (iPreisbasis == 0 || iPreisbasis == 2) {
      wlaVkbasis =
          new WrapperLabel(
              LPMain.getInstance().getTextRespectUISPr("artikel.label.einzelverkaufspreis"));
    } else {
      wlaVkbasis =
          new WrapperLabel(
              LPMain.getInstance().getTextRespectUISPr("part.kundensoko.preisbasis.preisliste"));
    }

    wnfVkbasis = new WrapperNumberField();
    wnfVkbasis.setFractionDigits(iPreiseUINachkommastellen);
    wnfVkbasis.setActivatable(false);
    wlaVkbasiswaehrung = new WrapperLabel(waehrungCNr);
    wlaVkbasiswaehrung.setHorizontalAlignment(SwingConstants.LEADING);
    wlaVkbasisGueltigab =
        new WrapperLabel(LPMain.getInstance().getTextRespectUISPr("vkpf.vkbasisgueltigab"));
    wdfVkbasisGueltigab = new WrapperDateField();
    wdfVkbasisGueltigab.setActivatable(false);

    wlaFixpreis = new WrapperLabel(LPMain.getInstance().getTextRespectUISPr("lp.fixpreis"));
    wlaFixpreis.setHorizontalAlignment(SwingConstants.LEADING);
    wlaFixpreis.setVerticalAlignment(SwingConstants.BOTTOM);
    wlaBerechneterpreis =
        new WrapperLabel(LPMain.getInstance().getTextRespectUISPr("lp.berechneterpreis"));
    wlaBerechneterpreis.setHorizontalAlignment(SwingConstants.LEADING);
    wlaBerechneterpreis.setVerticalAlignment(SwingConstants.BOTTOM);

    wnfFixpreis = new WrapperNumberField();
    wnfFixpreis.setFractionDigits(iPreiseUINachkommastellen);
    wnfFixpreis.setDependenceField(true);
    wnfFixpreis.addFocusListener(new PanelMengenstaffelArtikel_fixpreis_focusAdapter(this));

    wlaFixpreiswaehrung = new WrapperLabel(waehrungCNr);
    wlaFixpreiswaehrung.setHorizontalAlignment(SwingConstants.LEADING);

    wnfBerechneterpreis = new WrapperNumberField();
    wnfBerechneterpreis.setFractionDigits(iPreiseUINachkommastellen);
    wnfBerechneterpreis.setActivatable(false);
    wnfBerechneterpreis.setDependenceField(true);

    wlaBerechneterpreiswaehrung = new WrapperLabel(waehrungCNr);
    wlaBerechneterpreiswaehrung.setHorizontalAlignment(SwingConstants.LEADING);

    initMengeRabattsatz();

    wnfRabattsatz.addFocusListener(new PanelMengenstaffelArtikel_rabattsatz_focusAdapter(this));

    wifArtikel = new WrapperIdentField(getInternalFrame(), this);
    wifArtikel.addEinheitLabel(wlaMengeeinheit);

    addFormatierungszeile();

    iZeile++;
    add(
        wifArtikel.getWbuArtikel(),
        new GridBagConstraints(
            0,
            iZeile,
            2,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wifArtikel.getWtfIdent(),
        new GridBagConstraints(
            2,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wifArtikel.getWtfBezeichnung(),
        new GridBagConstraints(
            4,
            iZeile,
            4,
            1,
            1.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));

    if (bMitUebersteuerbarenArtikelbezeichnungen) {
      iZeile++;
      wlaKndArtBez =
          new WrapperLabel(LPMain.getInstance().getTextRespectUISPr("artikel.kundesoko.kndartbez"));

      add(
          wlaKndArtBez,
          new GridBagConstraints(
              2,
              iZeile,
              2,
              1,
              0.0,
              0.0,
              GridBagConstraints.NORTH,
              GridBagConstraints.HORIZONTAL,
              new Insets(2, 2, 2, 2),
              0,
              0));

      wtfKndArtBez = new WrapperTextField(40);
      wtfKndArtZBez = new WrapperTextField(25);
      add(
          wtfKndArtBez,
          new GridBagConstraints(
              4,
              iZeile,
              4,
              1,
              1.0,
              0.0,
              GridBagConstraints.NORTH,
              GridBagConstraints.HORIZONTAL,
              new Insets(2, 2, 2, 2),
              0,
              0));
    }

    iZeile++;

    add(
        wlaGestehungspreis,
        new GridBagConstraints(
            0,
            iZeile,
            2,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wnfGestehungspreis,
        new GridBagConstraints(
            2,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaWaehrungGestehungspreis,
        new GridBagConstraints(
            3,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    if (bMitUebersteuerbarenArtikelbezeichnungen) {
      add(
          wtfKndArtZBez,
          new GridBagConstraints(
              4,
              iZeile,
              4,
              1,
              1.0,
              0.0,
              GridBagConstraints.NORTH,
              GridBagConstraints.HORIZONTAL,
              new Insets(2, 2, 2, 2),
              0,
              0));
    }

    iZeile++;
    add(
        wlaMinverkaufspreis,
        new GridBagConstraints(
            0,
            iZeile,
            2,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wnfMinverkaufspreis,
        new GridBagConstraints(
            2,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaWaehrungMinverkaufspreis,
        new GridBagConstraints(
            3,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    wlaPreisgueltigkeitsanzeigeab =
        new WrapperLabel(
            LPMain.getInstance().getTextRespectUISPr("vkpf.preisgueltigkeitsanzeigeab"));
    wdfPreisgueltigkeitsanzeigeab = new WrapperDateField();
    wdfPreisgueltigkeitsanzeigeab.getDisplay().addPropertyChangeListener(this);
    // SP2243 -> Preisgueltigkeisanzeige immm ab heute
    add(
        wcbWirktNichtInVerkaufspreisfindung,
        new GridBagConstraints(
            4,
            iZeile,
            2,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));

    /*
     * add(wlaPreisgueltigkeitsanzeigeab, new GridBagConstraints(0, iZeile,
     * 6, 1, 0.0, 0.0, GridBagConstraints.NORTH,
     * GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0));
     * add(wdfPreisgueltigkeitsanzeigeab, new GridBagConstraints(6, iZeile,
     * 1, 1, 0.0, 0.0, GridBagConstraints.NORTH,
     * GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0));
     */
    iZeile++;
    add(
        wlaVkbasis,
        new GridBagConstraints(
            0,
            iZeile,
            2,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wnfVkbasis,
        new GridBagConstraints(
            2,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaVkbasiswaehrung,
        new GridBagConstraints(
            3,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaVkbasisGueltigab,
        new GridBagConstraints(
            4,
            iZeile,
            2,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wdfVkbasisGueltigab,
        new GridBagConstraints(
            6,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));

    iZeile++;
    add(
        wlaMenge,
        new GridBagConstraints(
            0,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaFixpreis,
        new GridBagConstraints(
            2,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaRabattsatz,
        new GridBagConstraints(
            4,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaBerechneterpreis,
        new GridBagConstraints(
            6,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));

    iZeile++;
    add(
        wnfMenge,
        new GridBagConstraints(
            0,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaMengeeinheit,
        new GridBagConstraints(
            1,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wnfFixpreis,
        new GridBagConstraints(
            2,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaFixpreiswaehrung,
        new GridBagConstraints(
            3,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wnfRabattsatz,
        new GridBagConstraints(
            4,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaRabattsatzprozent,
        new GridBagConstraints(
            5,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wnfBerechneterpreis,
        new GridBagConstraints(
            6,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));
    add(
        wlaBerechneterpreiswaehrung,
        new GridBagConstraints(
            7,
            iZeile,
            1,
            1,
            0.0,
            0.0,
            GridBagConstraints.NORTH,
            GridBagConstraints.HORIZONTAL,
            new Insets(2, 2, 2, 2),
            0,
            0));

    iZeile++;
    addZeileGueltigVonBis(iZeile);
  }