Difference between a Canvas and a Scroll Pane?.



Difference between a Canvas and a Scroll Pane?...

Answer / sibasreeta mishra

Canvas is a component. ScrollPane is a container.
Canvas is a rectangular area where the application can draw or trap input events.
ScrollPane implements horizontal and vertical scrolling.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Core Java Interview Questions

Features of JAVA ? In which version of java synchronizedXXX() methods are included in Collections class.

1 Answers   NIIT,


Can a top level class be private or protected?

0 Answers  


is there a separate stack for each thread in java? : Java thread

0 Answers  


How is the marker interface used in Java?

0 Answers   BirlaSoft,


how to print output with out using sop statements

5 Answers   UHG,






what are the design patterns in struts?

1 Answers  


What is private protected in java?

0 Answers  


where to use join method and explain with real time senario?and programatical explenation also..

1 Answers   TCS,


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

0 Answers  


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

0 Answers  


Define inheritance with reference to java.

0 Answers  


How to change the priority of thread or how to set priority of thread?

0 Answers  


Categories