by "Matt Humphrey" <matth@[EMAIL PROTECTED]
>
Apr 13, 2008 at 11:26 AM
"Chase Preuninger" <chasepreuninger@[EMAIL PROTECTED]
> wrote in message
news:0f64879b-ac9b-47f7-8ad4-25883ee4523f@[EMAIL PROTECTED]
> for some reason when I open this dialog the button still says "Open"
>
> chooser.setDialogType(JFileChooser.SAVE_DIALOG);
> chooser.setMultiSelectionEnabled(false);
> chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
> chooser.setSelectedFile(new File(f.getName()));
Yes, but what are you using to open the dialog? showOpenDialog or
showSaveDialog?
Matt Humphrey http://www.iviz.com/