image upload-showing image on a form

Posted by mnmyles on Stack Overflow See other posts from Stack Overflow or by mnmyles
Published on 2010-03-18T11:36:57Z Indexed on 2010/03/18 11:41 UTC
Read the original article Hit count: 612

Filed under:

hi guyz; i am using netbeans6.7.1 and phpmyadmin for my db to develop a java application to manage students records i want to upload students photos through browsing by clicking a browse buton which i have included in my interface

I mean when i click on that button a JFilechooser pops up which filter only images(i have acomplished this)

1.) what i need is when i click on the "Attach button" of the JFilechooser, i want the image i chose to be attached to a jtextArea on the form i'm working with and the JFilechooser be diposed off.
2.) Also how i can save this form together with the image to a database table

Is there a place where i can find a good guide/tutorial about that

© Stack Overflow or respective owner

Related posts about netbeans6.7