File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes How to learn 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 "How to learn applet" Watch "How to learn applet" New topic
Author

How to learn applet

Sumit Khurana
Ranch Hand

Joined: Sep 19, 2010
Posts: 68

Hi

Please suggest me a tutorial for learning applet and tell me how shall i start?
I have a sound knowledge of core java and J2EE and now I want to learn this also.

Regards
Sumit Khurana
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4522
    
    5

Moved from Swing / AWT / SWT.

Developing and deploying Java Applets


luck, db
There are no new questions, but there may be new answers.
Sumit Khurana
Ranch Hand

Joined: Sep 19, 2010
Posts: 68

Hi Darryl

Thankyou for replying.
I think swing is the advance version of applet. so, is it better to start from Swing directly???
and please provide some links for swing also.

Regards
Sumit Khurana
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4522
    
    5

Yes, it's pointless wasting time learning obsoleted technology. Scout around and find the Swing section of the same tutorials.

The Swing equivalent of Applet is JApplet.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4634
    
    5

Darryl Burke wrote:Yes, it's pointless wasting time learning obsoleted technology.


Specifically, applets are obsolete. Its pointless wasting time learning applets.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18109
    
    8

Pat Farrell wrote:Specifically, applets are obsolete. Its pointless wasting time learning applets.


I wouldn't agree with this (since we have applets in production where I work). However I would say that applets are a minor feature and that you shouldn't learn them until (a) you need them and (b) you already know Java well enough so that you only need half a day to get up to speed on them.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4634
    
    5

Paul Clapham wrote:since we have applets in production where I work.

Wow, I haven't heard of a single case where folks use applets in production in more than a decade.

I can see how they might work in a closed enterprise world. But I haven't seen them be feasible in general on the open internet
this century.

Are you allowed to give us a hint how you use them in production?
And how you get past all the browser incompatibility problems?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18109
    
    8

We give our customers these little palm-sized barcode scanners. They go around their store and scan the barcodes of products they want to order, and then they plug the scanner into a USB port. This basically acts like a disk drive, so there's a file of scan data in a predetermined location on some drive.

The applet simply looks for that location and uploads the scan data, if it finds it, and then forwards to a "review" page if it found data and an "error" page if it didn't. The GUI is simply a JLabel which says "Searching for scanned data". We're just using a plain vanilla <applet> tag to load the thing. So it's just about the simplest possible applet (except that of course it has to be signed). I don't work in support but I haven't heard any feedback that people are having problems with our applet.
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 242

we also using applets in a stock exchange site to display the graphs and currency changes. it run out of browser like a swing application. we may use webstart for this(more secure compare to applets i studied some where). but my seniors are restricted to use it.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39529
    
  27
mallikarjun dontamsetti wrote:we may use webstart for this(more secure compare to applets i studied some where).

There are numerous good reasons to prefer WebStart apps over applets, but this one sounds purious. Make sure you understand what that's all about before you use it as a basis for decision-making.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to learn applet
 
Similar Threads
New to java
JMF and applets/apps
How to: USB-camera video streaming using applet
Turn Based Strategy Games
For Learning Swing and Applet.