public ShenPiPanel(MainFrame par) { this.parent = par; initUI(); setHotKey(); initBL(); approvebt.addActionListener(this); disappbt.addActionListener(this); refreshbt.addActionListener(this); refreshList(); }
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(); }