showSaveDialog file extensions


I`m using a pretty bog standard jFileChooser.showSaveDialog() method to save files from the "text editor" I am developing as a project.  What I am looking to add to this jFileChooser.showSaveDialog is certain file extensions in the drop down box.

I've had a look on the iNet & EE but could not come across anything, can someone point me in the right direction please ?
LVL 14
Vel EousResearch & Development ManagerAsked:
Who is Participating?
You need a FilenameExtensionFilter. Example in API docs:
Vel EousResearch & Development ManagerAuthor Commented:
Cheers dude.

Life save !!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.