How to save file using JFileChooser?

前端 未结 4 647
花落未央
花落未央 2020-12-17 16:16

I have a method in my application called \"Save as\" which Saves the image of my application on computer my into a file. I used the JFileChooser to let the users choose thei

4条回答
  •  無奈伤痛
    2020-12-17 16:43

    Use JFileChoose.SetFileFilter example: http://www.java2s.com/Code/JavaAPI/javax.swing/JFileChoosersetFileFilterFileFilterfilter.htm

提交回复
热议问题