private void jbInit() throws Throwable { this.setLayout(gridBagLayout1); jpaWorkingOn.setLayout(gridBagLayout2); wlaDatumVon.setText(LPMain.getInstance().getTextRespectUISPr("lp.von")); wlaDatumBis.setText(LPMain.getInstance().getTextRespectUISPr("lp.bis")); wdfDatumVon.setTimestamp(new java.sql.Timestamp(System.currentTimeMillis() - 24 * 3600000)); wdfDatumBis.setTimestamp(new java.sql.Timestamp(System.currentTimeMillis() - 24 * 3600000)); wdrBereich = new WrapperDateRangeController(wdfDatumVon, wdfDatumBis); wdfDatumVon.setMandatoryField(true); wdfDatumBis.setMandatoryField(true); wsfArtikelklasse = new WrapperSelectField(WrapperSelectField.ARTIKELKLASSE, getInternalFrame(), true); wbuArtikelnrVon.setText( LPMain.getTextRespectUISPr("artikel.artikelnummer") + " " + LPMain.getTextRespectUISPr("lp.von")); wbuArtikelnrBis.setText( LPMain.getTextRespectUISPr("artikel.artikelnummer") + " " + LPMain.getTextRespectUISPr("lp.bis")); wtfArtikelnrVon.setActivatable(false); wtfArtikelnrBis.setActivatable(false); wtfArtikelnrVon.setActivatable(false); wbuArtikelnrVon.setActionCommand(ACTION_SPECIAL_ARTIKELVON_FROM_LISTE); wbuArtikelnrVon.addActionListener(this); wbuArtikelnrBis.setActionCommand(ACTION_SPECIAL_ARTIKELBIS_FROM_LISTE); wbuArtikelnrBis.addActionListener(this); wbuBranche = new WrapperButton(); wbuBranche.setActionCommand(ACTION_SPECIAL_FLR_BRANCHE); wbuBranche.setActivatable(false); wbuBranche.addActionListener(this); wbuBranche.setText(LPMain.getInstance().getTextRespectUISPr("button.branche")); wtfBranche = new WrapperTextField(PartnerFac.MAX_BRANCHE); wtfBranche.setActivatable(false); getInternalFrame().addItemChangedListener(this); this.add( jpaWorkingOn, new GridBagConstraints( 0, 0, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); int iZeile = 0; iZeile++; jpaWorkingOn.add( wlaDatumVon, new GridBagConstraints( 0, iZeile, 1, 1, 50, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); jpaWorkingOn.add( wdfDatumVon, new GridBagConstraints( 1, iZeile, 1, 1, 0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 100, 0)); jpaWorkingOn.add( wlaDatumBis, new GridBagConstraints( 2, iZeile, 1, 1, 50, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); jpaWorkingOn.add( wdfDatumBis, new GridBagConstraints( 3, iZeile, 1, 1, 0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 100, 0)); jpaWorkingOn.add( wdrBereich, new GridBagConstraints( 4, iZeile, 1, 1, 0, 0.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 2, 2, 0), 0, 0)); iZeile++; jpaWorkingOn.add( wbuArtikelnrVon, new GridBagConstraints( 0, iZeile, 1, 1, 50, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); jpaWorkingOn.add( wtfArtikelnrVon, new GridBagConstraints( 1, iZeile, 1, 1, 0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); jpaWorkingOn.add( wbuArtikelnrBis, new GridBagConstraints( 2, iZeile, 1, 1, 50, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); jpaWorkingOn.add( wtfArtikelnrBis, new GridBagConstraints( 3, iZeile, 1, 1, 0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); iZeile++; jpaWorkingOn.add( wsfArtikelklasse.getWrapperButton(), new GridBagConstraints( 0, iZeile, 1, 1, 50, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); jpaWorkingOn.add( wsfArtikelklasse.getWrapperTextField(), new GridBagConstraints( 1, iZeile, 1, 1, 0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); iZeile++; jpaWorkingOn.add( wbuBranche, new GridBagConstraints( 0, iZeile, 1, 1, 50, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); jpaWorkingOn.add( wtfBranche, new GridBagConstraints( 1, iZeile, 1, 1, 0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(2, 2, 2, 2), 0, 0)); }