AWT/Swing Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 808 Page Views: 

What is the difference between a Window and a Frame?



Posted By: Avi Date: 3 November 2010 10:37:06 AM
 Answer:

The Frame class extends Window to define a main application window that can have a menu bar. A window can be modal.


Posted By: avibtech


Date: 3 November 2010 10:37:06 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image exzs7l
Related Questions
AWT/Swing :  What are heavyweight components ?

What are heavyweight components ?

A heavyweight component is one that is associated with its own native screen resource.
Category: AWT/Swing Date: 11/5/2010 8:13:03 PM
AWT/Swing : Which method is used by the applet to recognize the height and width?

Which method is used by the applet to recognize the height and width?

getParameters().
Category: AWT/Swing Date: 11/5/2010 5:52:04 PM
AWT/Swing : What is lightweight component?  

What is lightweight component?  

A lightweight component is one that "borrows" the screen resource of an ancestor.
Category: AWT/Swing Date: 11/5/2010 2:58:03 PM
AWT/Swing : What is the enableEvents() method?

What is the enableEvents() method?

The enableEvents() method is used to enable an event for a particular object.
Category: AWT/Swing Date: 11/5/2010 1:08:06 PM
AWT/Swing : What is the default layout for a ContentPane in JFC?

What is the default layout for a ContentPane in JFC?

BorderLayout.
Category: AWT/Swing Date: 11/5/2010 12:35:05 PM