Posts Tagged ‘applet’

Free software under the terms of the GNU

May 21, 2009, Posted by admin at 9:53 am
/* acNeilson.java *                 Note, number is not a parem * *                 Calling syntax that works for me is: * *   <applet codebase="classes" code=acNeilson.class width=75 height=20> *           <param name=NUMBER_FRAMES value=10> *           <param name=NUMBER_WIDTH value=15> *           <param name=NUMBER_HEIGHT value=20> *           <param name=HOW_MANY value=5> *           <param name=DELAY value=1000> *           <parem name=VALUE value=777777> *   </applet> (more...)
Read More

Code of A Java Counter

May 21, 2009, Posted by admin at 9:50 am
// Used to get the user name. special crdits to Robert Scott at the // Java message base for the tech part and Mig9 for the motivation part. // Amit C. (ConnectSoft Ruksun, Pune, India) amit@maverick.corus.co.in import java.applet.Applet; import java.awt.Graphics; import java.net.InetAddress; import java.net.UnknownHostException; (more...)
Read More

Process of sending email in applet

May 20, 2009, Posted by admin at 12:03 pm

The simplest way to answer this question is to tell you to write a CGI program which sends email, and then refer you to the previous question to learn how to commuae with the CGI program. There really isn’t any other reliable, cross-platform way to send email. The problem is that email programs are platform dependent. There are a few trick to doing this, however, similair to the javascript program mailit which uses the form utilities and the built-in browser email form. AN applet could be used in the same way. Read the rest of this entry »

Read More

Difference between an application and an applet

May 20, 2009, Posted by admin at 8:25 am

This question can be answered on many levels. Technically an application is a Java class that has a main method. An applet is a Java class which extends java.applet.Applet. A class which extends java.applet.Applet and also has a main method is both an application and an applet.

More generally and less technically an application is a stand-alone program, normally launched from the command line, and which has more or less unrestricted access to the host system. An applet is a program which is run in the context of an applet viewer or web browser, and which has strictly limited access to the host system. Read the rest of this entry »

Read More