File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes difference  between  frame  and  applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "difference  between  frame  and  applet" Watch "difference  between  frame  and  applet" New topic

difference between frame and applet

rehans oberoi
Ranch Hand

Joined: Dec 06, 2005
Posts: 174
can anybody tell me diffrence between frame and applet
and which is better

how can we convert applet to frame
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
It's not a question of which is better - the two are unrelated concepts.

An Applet is a Java program running inside a web browser, while a Frame is a kind of window. An Applet may open a Frame, or it might just run inside its panel.

Are you thinking of running an applet as a standalone application inside a Frame? Then the Applet FAQ might help you.
I agree. Here's the link:
subject: difference between frame and applet
It's not a secret anymore!