Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

FileDialog with a choice of formats to save a file  RSS feed

 
Edward Morris
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I get the FileDialog to work in such a way that it gives a dropdown menu with a list of formats like *.txt, *.pdf, *.tpl etc. instead of the annoying default *.* All files?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like the AWT FileDialog doesn't support it. The Swing JFileChooser does.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!