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 is default locale java?

761


What are the string methods in java?

781


Explain try and catch keywords in java?

827


Why is a string immutable?

728


what is daemon thread and which method is used to create the daemon thread? : Java thread

715






What are different types of constants?

693


Explain about main() method in java ?

767


Can we declare a class as static?

763


How many characters is 2 bytes?

705


What is null in java?

685


Can we have static methods in an interface?

756


How we create object in copy constructor?

836


Is it possible to instantiate the abstract class?

706


What will be the output of round(3.7) and ceil(3.7)?

847


Implementations of set interface?

744