I'm assigning 500 points to this question because it is both urgent and extremely difficult for me. I must have the solution soon.
I don't know very much about Java - I was never really interested because it seems to run slow and for the most part, Macromedia Flash could do the same thing easier and better.
Now I'm in a bind - I must have a control (compatible with both FireFox and IE 6) that I can drag and drop a file into, and then upload and do various things with that file. Anybody who can deliver an applet (or code with instructions - for a Java newb - how to compile, because I DO want to learn) will get the 500 points.
What I need, Exactly:
Applet can accept file by drag-and-drop.
Applet can detect file type, if file type is JPG or JPEG.
If file type check is good, applet can POST file to PHP script.
Applet can revieve new picture URL back, download picture into applet and display.
If you can provide me with instructions on how to do any one of these things, post some code. You'll get some points. I'm attempting to work it out right now.. not getting real far though.
Please ask any clarifying questions or call me at 408 318 4362
This is urgent.