472,133 Members | 1,025 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

how to create an editable picture using java GUI and Mysql

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 1964
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');
  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
reply views Thread by oll3i | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.