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

What is the difference between scrollbar and scrollpane?



Posted By: Avi Date: 7 November 2010 12:13:05 PM
 Answer:

A Scrollbar is a Component, but not a Container whereas Scrollpane is a Container and handles its own events and perform its own scrolling.


Posted By: avibtech


Date: 7 November 2010 12:13:05 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image GKzZOq
Related Questions
AWT/Swing : What interface is extended by AWT event listeners?

What interface is extended by AWT event listeners?

All AWT event listeners extend the java.util.EventListener interface.
Category: AWT/Swing Date: 11/9/2010 10:00:07 AM
AWT/Swing : What is the preferred size of a component?

What is the preferred size of a component?

The preferred size of a component is the minimum component size that will allow the component to dis....
Category: AWT/Swing Date: 11/9/2010 8:22:04 AM
AWT/Swing : What is the immediate superclass of the Dialog class?

What is the immediate superclass of the Dialog class?

Window
Category: AWT/Swing Date: 11/9/2010 6:33:06 AM
AWT/Swing :  Which method of the Component class is used to set the position and size of a component?
AWT/Swing : What are the problems faced by Java programmers who don't use layout managers?

What are the problems faced by Java programmers who don't use layout managers?

Without layout managers, Java programmers are faced with determining how their GUI will be displayed....
Category: AWT/Swing Date: 11/9/2010 1:16:07 AM