aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Java Applet" Watch "Java Applet" New topic

Java Applet

Juan Sifuentes

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.
[ 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: 9990

Better suited for the Applet form.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
subject: Java Applet
Similar Threads
application to applet conversion
jsp&applet communication
how to call applet from a core java program?
From Applet to Stand-Alone
Why comment in applet java program