Originally Posted by
nigi10
Thanks,
my problem was that somehow the getParent() method didn't work properly. It returned me a JPanel instead a JFrame, so i had to write a method setFrame() to pass it the frame. But it works now.
As it should. Content 'added' to a JFrame is added to the content pane of the frame (a JPanel).
Is it true that the setFilenameFilter method has never been implemented for the FileDialog? What a shame. Then I think I have to stick to the not so fancy JFileChooser
See the API for
FileDialog