Esempio n. 1
0
  public ShenPiPanel(MainFrame par) {
    this.parent = par;

    initUI();
    setHotKey();

    initBL();

    approvebt.addActionListener(this);
    disappbt.addActionListener(this);
    refreshbt.addActionListener(this);
    refreshList();
  }
Esempio n. 2
0
  public BankAccountPanel(MainFrame par) {
    this.parent = par;
    this.setOpaque(false);
    this.setBorder(
        BorderFactory.createTitledBorder(
            BorderFactory.createBevelBorder(ALLBITS),
            "银行账户",
            TitledBorder.LEFT,
            TitledBorder.TOP,
            new Font("", Font.BOLD, 25)));

    initUI();
    setHotKey();

    addbt.addActionListener(this);
    deletebt.addActionListener(this);
    refreshbt.addActionListener(this);

    initBL();
    refresh();
  }
Esempio n. 3
0
 private void setHotKey() {
   addbt.setMnemonic('N');
   deletebt.setMnemonic('D');
   refreshbt.setMnemonic('R');
 }
Esempio n. 4
0
 private void setHotKey() {
   approvebt.setMnemonic('A');
   disappbt.setMnemonic('D');
   refreshbt.setMnemonic('R');
 }