Hey,
I have made a jFileChooser using a jFrame form.
How do I:
1. Return the FileName or Path of the file (either will do)
2. Write the "opened" file to my database
I hope some genius can help me out here..
Thanks in advance
Printable View
Hey,
I have made a jFileChooser using a jFrame form.
How do I:
1. Return the FileName or Path of the file (either will do)
2. Write the "opened" file to my database
I hope some genius can help me out here..
Thanks in advance
Instead of using a JFrame Form. I wrote the code myself using:
A simple file chooser to see what it takes to make one of these work : File Chooser*«*Swing JFC*«*Java
Sorry, does that mean your problem is solved? I'm not sure what's in that tutorial that isn't in the one I posted.
Well the problem is solved, but I had to write it myself instead of using the premade JFileChooser( from the GUI palette).
Thx for the respons btw :)
Oh, you mean you had to write code instead of using a GUI builder? That's probably a good idea anyway. Ditch the GUI builder if you want to learn how to program.
I second the recommendation, with one change:Quote:
Ditch the GUI builder if you want to learn how to program.
Ditch the GUI builder until you learn how to program. It may appear to be a boon to beginners, but it's actually an advanced tool -- as you've just discovered.
db