GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  Java Swing
Go To First  |  Previous Question  |  Next Question 
 Java Swing  |  Question 68 of 72    Print  
what is the difference between Applet and Frame in java?

  
Total Answers and Comments: 5 Last Update: April 20, 2009     Asked by: s 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: RaviShankar
 
Applet is a java program that can be embeded in a web page,i.e it is a program that can run on Html web page,where is frame is an application that run on local machine.

Above answer was rated as good by the following members:
vijay_thezorro
October 16, 2006 02:44:14   #1  
RaviShankar        

RE: what is the difference between Applet and Frame in...
Applet is a java program that can be embeded in a web page i.e it is a program that can run on Html web page where is frame is an application that run on local machine.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
November 28, 2006 09:59:58   #2  
Vickey        

RE: what is the difference between Applet and Frame in...

Applet : Its an Program used to work with Internet Basis ... As its is Embeded in an Web page ... To work with Applet we need a Browser ...

Appliacation ... This is a Stand alone Application to fulfill any task ..These type of applications cannot be used for Internet purposes ... To Exeucute an Application we need an Intrepreter called ... java filename

that'sit


 
Is this answer useful? Yes | No
January 06, 2007 10:23:15   #3  
kaushikbasu23 Member Since: January 2007   Contribution: 1    

RE: what is the difference between Applet and Frame in...
Applet:
An application written in Java that can run inside a web page but is not limited by the functionality of HTML. Because applets are separate programmatic objects they often do not work with accessibility aids although features are becoming available in the Java language to permit this.

A small Java program that can be embedded in an HTML page. Applets differ from full-fledged Java applications in that they are not allowed to access certain resources on the local computer such as files and serial devices (modems printers etc.) and are prohibited from communicating with most other computers across a network. The current rule is that an applet can only make an Internet connection to the computer from which the applet was sent.


Frame:
A Frame is a top-level window with a title and a border.


 
Is this answer useful? Yes | No
April 16, 2009 05:22:31   #4  
vijay_thezorro Member Since: April 2009   Contribution: 3    

RE: what is the difference between Applet and Frame in java?
Appletviewer executes Applet programs where as JVM executes Frames.
 
Is this answer useful? Yes | No
April 20, 2009 03:23:18   #5  
VenkitaKrishnan Member Since: April 2007   Contribution: 7    

RE: what is the difference between Applet and Frame in java?
The difference is based on whether you want a Console based application or a Browser based application. For console applications use Frame and for browser applications use Applet.

The other different is that Applet has FlowLayout as the default layout whereas Frame has Border Layout as the default layout.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape