Difference between a Canvas and a Scroll Pane?.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

721


Explain the difference between abstract classes and interfaces in java?

842


What is the difference between sleep and wait in java?

724


What are measurable parameters?

790


Why string objects are immutable in java?

811


How do you use compareto in java?

750


What is compiler and what its output.

893


How do you sort a string in alphabetical order in java?

744


Why java applets are more useful for intranets as compared to internet?

806


Can we override private constructor in java?

715


Why java does not support pointers?

782


What is a function easy definition?

739


Can static methods be inherited?

779


Difference between ‘>>’ and ‘>>>’ operators in java?

877


In java, how we can disallow serialization of variables?

742