Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用java.awt.FileDialog将文件加载到我的应用程序中。
java.awt.FileDialog
默认情况下,打开文件时可用的选项是“取消”和“打开”。
我想添加另一个按钮,以便在 FileDialog 中显示三个选项 - “CANCEL”、“OPEN”和“OPEN AND DO X”。
我怎样才能做到这一点?这似乎并不简单。