Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java GUI > Re: JFileChoose...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 9633 of 10019
Post > Topic >>

Re: JFileChooser

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/
 




 4 Posts in Topic:
JFileChooser
Chase Preuninger <chas  2008-04-13 07:58:04 
Re: JFileChooser
"Matt Humphrey"  2008-04-13 11:26:45 
Re: JFileChooser
Alex.From.Ohio.Java@[EMAI  2008-04-13 09:28:24 
Re: JFileChooser
Roedy Green <see_websi  2008-04-14 03:14:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 21:19:15 CST 2008.