日期:2014-05-20  浏览次数:20731 次

在swing中如何实现文件选择
就像html中的 <input   type= "file "   name= " "> 这个标签在的功能在swing中如何实现,请指点

------解决方案--------------------
java.awt.FileDialog
------解决方案--------------------
是 Swing

javax.swing.JFileChooser
------解决方案--------------------
使用教程在
http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html