文件名称:Menumu_3
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
//构造具有指定的标签的菜单
files = new Menu("文件(F)")
compile = new Menu("编辑(E)")
see = new Menu("查看(V)")
format = new Menu("格式(O)")
font = new Menu("字体和颜色(F)...") //在格式菜单下再添加一个字体及颜色的菜单
help = new Menu("帮助(H)")
//构造具有指定的标签的菜单项
news = new MenuItem("新建(N)" + " " + "Ctrl+N")
open = new MenuItem("打开(O)..." + " " + "Ctrl+O")
save = new MenuItem("保存(S)" + " " + "Ctrl+S")
other = new MenuItem("另存为(A)...")
page = new MenuItem("页面设置(U)...")
mim = new MenuItem("打印(P)..." + " " + "Ctrl+P")
quit = new MenuItem("退出(X)")-//Construct the label with the specified menu files = new Menu ( file (F) ) compile = new Menu ( Edit (E) ) see = new Menu ( View (V) ) format = new Menu ( format (O) ) font = new Menu ( fonts and colors (F )... )// in the format menu and then add a font and color of the menu help = new Menu ( Help (H) )// structure with the specified menu item label news = new MenuItem ( New (N)+ + Ctrl+ N ) open = new MenuItem ( Open (O )...+ + Ctrl+ O ) save = new MenuItem ( Save (S)+ + Ctrl+ S ) other = new MenuItem ( Save as (A )... ) page = new MenuItem ( Page Setup (U )... ) mim = new MenuItem ( Print (P )...+ + Ctrl+ P ) quit = new MenuItem ( Exit (X ) )
files = new Menu("文件(F)")
compile = new Menu("编辑(E)")
see = new Menu("查看(V)")
format = new Menu("格式(O)")
font = new Menu("字体和颜色(F)...") //在格式菜单下再添加一个字体及颜色的菜单
help = new Menu("帮助(H)")
//构造具有指定的标签的菜单项
news = new MenuItem("新建(N)" + " " + "Ctrl+N")
open = new MenuItem("打开(O)..." + " " + "Ctrl+O")
save = new MenuItem("保存(S)" + " " + "Ctrl+S")
other = new MenuItem("另存为(A)...")
page = new MenuItem("页面设置(U)...")
mim = new MenuItem("打印(P)..." + " " + "Ctrl+P")
quit = new MenuItem("退出(X)")-//Construct the label with the specified menu files = new Menu ( file (F) ) compile = new Menu ( Edit (E) ) see = new Menu ( View (V) ) format = new Menu ( format (O) ) font = new Menu ( fonts and colors (F )... )// in the format menu and then add a font and color of the menu help = new Menu ( Help (H) )// structure with the specified menu item label news = new MenuItem ( New (N)+ + Ctrl+ N ) open = new MenuItem ( Open (O )...+ + Ctrl+ O ) save = new MenuItem ( Save (S)+ + Ctrl+ S ) other = new MenuItem ( Save as (A )... ) page = new MenuItem ( Page Setup (U )... ) mim = new MenuItem ( Print (P )...+ + Ctrl+ P ) quit = new MenuItem ( Exit (X ) )
相关搜索: MenuItem
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Menumu_3.java