Maneesh Godbole wrote:And this question is posted in the Swing/AWT/SWT/JFace forum because....?
Please TellTheDetails
Because we're developing the
java app using swings to open different document formats in a single application. Below is the attached screenshot of main window our current application which opens .txt, .rtf, .pdf and .html files.. But our concern is, the application opens separate windows to open each of the file formats instead of showing the single file chooser for all of these document formats as we were unable to create a single file chooser and choose the file to open depending upon the format filter in the file chooser like either *.pdf or *.rtf...
So, please suggest us how to build a single file chooser and open these document files depending upon their formats..
Thanks in advance.