Ejemplo n.º 1
0
 @Override
 public void historyChanged() {
   if ((historyModel != null) && (historyModel.getCurrentElement() != null)) {
     if (LOG.isDebugEnabled()) {
       LOG.debug("historyChanged:" + historyModel.getCurrentElement().toString());
     }
     if ((historyModel.getCurrentElement() != null)
         && (!(historyModel.getCurrentElement().equals(txtSearch.getText())))) {
       txtSearch.setText(historyModel.getCurrentElement().toString());
       gotoKassenzeichen(txtSearch.getText(), false);
     }
   }
 }
Ejemplo n.º 2
0
  /** Creates new form KassenzeichenPanel. */
  public KassenzeichenPanel() {
    initComponents();

    bindingValidator = BindingValidationSupport.attachBindingValidationToAllTargets(bindingGroup);

    configureButtons();
    // de.cismet.gui.tools.DullPane dp=new de.cismet.gui.tools.DullPane();
    // this.panKZValues.add(dp);
    setEnabled(false);
    historyModel.addHistoryModelListener(this);

    lblLastModification.setIcon(
        new javax.swing.ImageIcon(
            getClass().getResource("/de/cismet/verdis/res/images/titlebars/goto.png")));
    lblLastModification.setOpaque(false);
    // lblLastModification.setBorderPainted(false);
    // lblLastModification.setFocusPainted(false);
    hbBack.revalidate();
    hbFwd.revalidate();
  }