permaculture playing cards*
The moose likes Applets and the fly likes Java Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Java Applet" Watch "Java Applet" New topic
Author

Java Applet

Juan Sifuentes
Greenhorn

Joined: Sep 02, 2008
Posts: 6
I am trying to make a Java Applet Calculator. What is an applet? Do I write a normal java program and turn it into a java applet or something? or Is a applet a diffirent way to program java?
Aum Tao
Ranch Hand

Joined: Feb 14, 2006
Posts: 210
An Applet is different from a regular Java program in the sense that it runs inside the browser and can be downloaded and run.

http://java.sun.com/docs/books/tutorial/deployment/applet/
[ December 09, 2008: Message edited by: Prateek Parekh ]

SCJP 1.4 85%
Mark Vedder
Ranch Hand

Joined: Dec 17, 2003
Posts: 624

Java Applets are basically mini applications (although they can be pretty robust) that are designed to run inside a web browser. While a regular Java Application can be ported to an Applet, it is better to write it as an Applet from the start if you know that's you want it to be. This is because all Applets must extend the Applet class. You can also extend JApplet which itself extends an Applet.

I'd recommend you start with the Applet lesson in the Java Tutorial to learn the basics of how to write an Applet.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

Better suited for the Applet form.
Moving.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Applet
 
Similar Threads
From Applet to Stand-Alone
application to applet conversion
jsp&applet communication
Why comment in applet java program
how to call applet from a core java program?