469,326 Members | 1,582 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,326 developers. It's quick & easy.

how to create an editable picture using java GUI and Mysql

3
hi, this is fens


Please help me
I have a project (using java & mysql) to make an people identity.
I don't know how to create an editable picture (add, edit, delete), which is using database mysql .



Thanks' anyway
I hope you answer this !!!
Jan 18 '07 #1
1 1898
ronverdonk
4,258 Expert 4TB
What do you mean: an editable picture? What do you want to edit?

To start, you must have the image available. Then you upload it to the server. When done that[code]
Insert the image into the MySQL database using an INSERT statement, such as:
Expand|Select|Wrap|Line Numbers
  1. INSERT INTO image_table (imagename) VALUES('$image_name');
  2.  
  3. Delete an image from the database you use a statement such as
  4. DELETE FROM image_table WHERE image_name='$name';
Editing (i.e. actually changing the image) must be done via graphics software, of which I do not know if that is possible in Java.

Ronald :cool:
Jan 18 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by mdh | last post: by
oll3i
reply views Thread by oll3i | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.