Discussion Locked

QUESTION FOR JAVA

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

The Basic Idea: For a user to design a Business Card, Greeting Card, Etc and be able to "order" it by EMAILING the results to me. How do I send the email, and how to i get those fields or object and locations to be sent.
I WOULD APPRECIATE any help on ANY part of this, even if you can't answer in full.

Thank you In Advance.

7 replies

by sixfourtykilo

How about using Macromedia Flash Creator? You can download a trial version from their website to test it out. There is a sample file of Mr. Potato Head which allows you to pick up pieces and stick them where you want. Maybe you can apply the sameidea to your business/greeting card thingie.

Good Luck!
640k

by hi-temp

Thanks for your comments but I am looking for the JAVA based solution. Also I can only find Macromedia Flash 5 not Mac Flash Creator

by cwrobin6971

Many ways to do this but here is one that might work for you...

The function of allowing the movement of graphical components around the "screen" is covered in more tutorials than I can count. The best bet for that is to look for the SUN examplewhere you can click and drag on a button and move it around. Shows the premise of that part of the concept very well. Unfortunately, this is the easy part of the project as it is something that has been done many times... the hard part is getting the gathered info to you in an e-mail format.

You *could* take the applet and send it to yourself as a graphic but that is rather difficult to do so I would suggest a rather easier method... If you use standard java components/containers on the applet/screen then you can easily generate a straight text based e-mail that gives the x-y co-ordinate positions and then you can have some form of server application that will generate the picture/graphic of the user requested object on your local machine. This is easier as the basic components for e-mail service are coming out in the newer versions of the JDK (1.4) but have also been evident in more primitive forms since older JDK's (1.1 if I remember correctly) and if a "server app" is the one generating the pics then you don't have to worry about the limitations of the presentation layer whether it is a servlet, applet, or whatever.

There is a new API for JavaMail now available from Sun that has all you should need to get this job done but I am unsure what versions of the JDK it currently supports. I know that 1.3 had a version but I am not aware of this API being in a useable version for earlier JDK's. Like I said previously however, basic MIME types for e-mail have been supported for a long time so... You might have to re-create the wheel, so to speak, to get the job done depending on your JDK version.

by maxwell edison

This discussion is closed to new replies.