![]() |
JFileChooser trouble
hi,can someone please show me a simple pice of code to get the (String) name of the file selected by JFileChooser?
thkx,bye:banana: |
use your file object (here its called fFile) to do this:
fFile = fc.getSelectedFile (); |
:
JFileChooser chooser = new JFileChooser(); |
| All times are GMT -5. The time now is 1:10 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC