GeekInterview.com
  I am new, Sign me up!
 

Java Swing FAQs


Java Swing FAQs

Questions: 72
Comments: 130
 Showing Questions 31-40 of 72 Questions
<< Previous 1 2 3 [4] 5 6 7 8 Next >>
 Sponsored Links

 
 Java Swing FAQs
Sorting Options :  

State true or false :- A component subclass that has executed enableEvents( ) to enable processing of a certain kind of event cannot also use an adapter as a listener for the same kind of event.
A) TrueB) False 

A) java.util.eventObject 
Latest Answer: Event types are encapsulated in a class hierarchy rooted at java.util.EventObject. An event is propagated from a "Source" object to a "Listener" object by invoking a method on the listener and passing in the instance of the event subclass which defines ...

A) java.awt.AWTEventB) java.awt.EventC) java.util.eventObjectD) javax.swing.ObjectExplanation: The java.awt.AWTEvent class is the highest-level class in the AWT event class hierarchy. 
Latest Answer: This is kind of a dicy question:But in Java the event heirarchy goes like :java.lang.object -> java.util.EventObject -> java.awt.AWTEvent.So the java.util.EventObject is the superclass of all events.But java.awt.AWTEvent is the superclass of all ...

A) paint( )B) repaint( )C) draw( )D) redraw( ) 
Latest Answer: Ans)  A) paint()  and B) repaint()  both are used to perform paint and repaint operations                ...

A) A Canvas objectB) A Graphics objectC) An Image objectD) A paint object 
Latest Answer: Answer : > B) A Graphic Objecte.g public void paint(Graphics g)     {                g.drawString(20,20,"Hello");      } ...

A) CanvasB) ImageC) FrameD) Graphics  
Latest Answer: Canvasimage ...

A) drawRect( )B) drawImage( )C) drawPoint( )D) drawString( ) 
Latest Answer: A,B,D ...

A) FlowLayout : The elements of a FlowLayout are organized in a top to bottom, left to right fashion.B) BorderLayout : The elements of a BorderLayout are organized at the borders (North, South, East and 
Latest Answer: A,B,C ...

A) CardLayoutB) BorederLayoutC) FlowLayoutD) GridLayout  
Latest Answer: The correct answer is: DGrid Layout divide the container in a tabular fashion. ...

An application has a frame that uses a Border layout manager. Why is it probably not a good idea to put a vertical scroll bar at North in the frame?
A) The scroll bar’s height would be its preferred height, which is not likely to be enough.B) The scroll bar’s width would be the entire width of the frame, which would be much wider than necessary.C) 

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

Ask A Question
Go Top
 Sponsored Links

 
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
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