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 ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is indexof?

540


What are facelets templates?

587


When is the finalize() called? What is the purpose of finalization?

577


What is variable explain with example?

566


What is json parser in java?

608






What is the difference between yield() and sleep()?

537


Can You Have Virtual Functions In Java?

581


What is the public method modifier?

540


What are the fileinputstream and fileoutputstream?

565


What are the loops in java?

518


What is an abstract method in java programming?

598


Can a class have multiple subclasses?

581


How do you declare an array that will hold more than 64KB of data?

635


How to avoid memory leak in java?

593


When do we use synchronized methods in java?

580