import *;import *;import *;import *;public class f1 extends Frame implements ActionListener{private MenuBar menubar=new MenuBar();private Menu filemenu=new Menu("文件");private Menu editmenu=new Menu("编辑");private Menu formmenu=new Menu("格式");private MenuItem[] itemf=new MenuItem[4];private MenuItem[] iteme=new MenuItem[6];private MenuItem[] items=new MenuItem[2];private TextArea tf=new TextArea();public int a=0,b=0,c=0,style=FPLAIN,size=15;public String s1="red:"+a+" "+"green:"+b+" "+"blue"+c,s2="宋体";public