Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

just a simple question

Status
Not open for further replies.

j1m2p3

Programmer
Oct 8, 2002
4
MA
I want to produce a viewer of images jpg, JPEG. with java but I hesitate between an application and an applet java which the best solution?
why?

 
An applet would be good if you plan to use the application over the web, where as a regular ole desktop app, would be alright to use if that is not the case.

-gc "I don't look busy because I did it right the first time."
 
May I suggest you another way?
What about "code reusing"? Think about it. Maybe it is
worth to do something that later will be easily used by
both applications an applets? Offcouse it will be a little
bit more complicated, but think about expirience!
I don't know details of your project and maybe it is imposible to do but if not... For example: all interface ( buttons, textfields and so on ) can be done as part of java.awt.Panel. Panel can be used freely by both applet and application! And so on...
 
I want to produce a viewer of clean image with java but I hesitate between a program and an applet java
the problem with an applet is that one can the décompiler with utilities like Decafe Pro
And the program is that the end-user must have the JDK to install on are computer to use this viewer and that it is not possible How to make ?
thinks
 
First off the user does not need the JDK, he would need the JRE. Sun does not allow you to freely re-distribute the JDK, but does allow you to re-distribute the JRE. As far as your problem with people that may decompile your code, that can be done regardless of whether your application is an applet or an desktop application.

-gc "I don't look busy because I did it right the first time."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top