问题补充说明:font.addActionListener(new ActionListener () {public void actionPerformed(ActionEvent e){fileColor_actionPerformed(e); }}); 谁可以解释下这句话,并将他分解...
ActionListeneral=newAction略卷Listener();
font.addActionListener(al);
c360问答lassfont.addActionListener(){
publicvoidactionPerformed(ActionEvente){
fileColor_actionPerform酸素负持棉艺粒判超向ed(e);
}
}
他这里无看添加监听是用匿名内部类来实现的