Beispiel #1
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();
  }
Beispiel #2
0
  /** Inserting Docking Window functionalty (Sebastian) 24.07.07. */
  private void configureButtons() {
    hbBack =
        JHistoryButton.getDefaultJHistoryButton(
            JHistoryButton.DIRECTION_BACKWARD, JHistoryButton.ICON_SIZE_16, historyModel);
    hbFwd =
        JHistoryButton.getDefaultJHistoryButton(
            JHistoryButton.DIRECTION_FORWARD, JHistoryButton.ICON_SIZE_16, historyModel);

    hbBack.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));
    hbBack.setOpaque(false);

    hbFwd.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));
    hbFwd.setOpaque(false);
  }