//構造具有指定的標簽的菜單
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)")
THIS book covers the Java™ Native Interface (JNI). It will be useful to you if
you are interested in any of the following:
• integrating a Java application with legacy code written in languages such as C
or C++
• incorporating a Java virtual machine implementation into an existing application
written in languages such as C or C++
• implementing a Java virtual machine
• understanding the technical issues in language interoperability, in particular
how to handle features such as garbage collection and multithreading