一千萬個為什麽

搜索

Java GUI文件菜單

我有一個帶有菜單命名文件的GUI

如何為程序添加文件打開和關閉功能。如果程序處於加密模式,則應加載/保存明文文本區域。如果程序處於解密模式,則應加載/保存密文區域。

最佳答案

Adding file open and close methods to an application is typically a fairly basic concept, so I'm going to assume that developing in Java is a new thing for you. In light of that I'll point you to a Java tutorial for GUI development. http://java.sun.com/docs/books/tutorial/uiswing/

轉載註明原文: Java GUI文件菜單