Difference between a Scrollbar and a ScrollPane?



Difference between a Scrollbar and a ScrollPane?..

Answer / janet

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

Is This Answer Correct ?    13 Yes 1 No

Post New Answer

More Core Java Interview Questions

for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }

3 Answers  


What are three ways in which a thread can enter the waiting state in java programming?

0 Answers  


What is Garbage Collection in Java

0 Answers   Wipro,


what is the life cycle of jsp?

3 Answers   Photon,


What is the difference between jfc & wfc?

0 Answers  






What are different types of classloaders?

0 Answers  


Can abstract class have private constructor?

0 Answers  


Is an integer an object?

0 Answers  


What state is a thread in when it is executing?

0 Answers  


when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service

4 Answers   Accenture,


how to write a program for chat function using core java

1 Answers   Satyam,


Is java map thread safe?

0 Answers  


Categories