GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

Java Swing FAQs


Java Swing FAQs

Questions: 72
Comments: 125
 Showing Questions 51-60 of 72 Questions
<< Previous 2 3 4 5 [6] 7 8 Next >>
 Sponsored Links

 
 Java Swing FAQs
Sorting Options :  

A) Non-exclusive Checkboxes.B) Radio buttons.C) Choice.D) List.  
Latest Answer: Answer is D ...

What is the result of executing the following Java class: import java.awt.*; public class FrameTest extends Frame {public FrameTest() {add (new Button("First"));add (new Button("Second"));add (new Button("Third"));pack();setVisible(true);}public static void main(String args []) {new FrameTest();}} Select from the following options:
A) Only the "third" button is displayed.B) A runtime exception is generated (no layout manager specified).C) Only the "first" button is displayed.D) Only the "second" button 

A) The event-inheritance model has replaced the event-delegation model.B) The event-inheritance model is more efficient than the event-delegation model.C) The event-delegation model uses event listeners 
Latest Answer: C ...

When two or more objects are added as listeners for the same event, which listener is first invoked to handle the event?
A) The first object that was added as listener.B) The last object that was added as listener.C) There is no way to determine which listener will be invoked first.D) It is impossible to have more than one 

A) The MouseListener interface defines methods for handling mouse clicks.B) The MouseMotionListener interface defines methods for handling mouse clicks.C) The MouseClickListener interface defines methods 
Latest Answer: The following options are correct:A) TrueExplanation: MouseListener Interface defines the methods for mouse clicks, mouse pressed etc. Hence this is true.B) TrueExplanation: The MouseMotionListener defines methods of MouseClicks as well as mouse movement, ...

A) A component may handle its own events by adding itself as an event listener.B) A component may handle its own events by overriding its event-dispatching method.C) A component may not handle oits own 

Which of the following option(s) doesn’t correctly describe the Applet’s Life Cycle methods?
A) init( ) method - Can be called when an applet is first loaded.B) start( ) method - Can be called each time an applet is started.C) paint( ) method - Can be called when the applet is minimized or refreshed.D) 

A) TrueB) False 
Latest Answer: True.java.awt.Object->java.awt.Component->java.awt.Panel->java.applet.Applet.So all applets are subclasses of applet itself. ...

A) TrueB) False 
Latest Answer: It is essential to import the java.applet.* packakage while creating applet,while using controls like label,button etc. within Applet it is essential to import java.awt.* package ...

A) The Applet classB) AppletContext Interface.C) AppletStub InterfaceD) AudioClip Interface 
Latest Answer: All of the aboveI looked it up in Javadocs hence it is right ...

View page << Previous 2 3 4 5 [6] 7 8 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
Sponsored Links

 
Free White Papers & Software


Vulnerability Management
for Dummies eBook

 


 

Request Your Copy
 



Free: 60-Day Trial
Microsoft Office Project

 


 

Request Now
 



The 7 Things that
IT Security Professionals
MUST KNOW!

 


 

Request Your Free eBook

 
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape