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
Can an object subclass another object?
What comes to mind when someone mentions a shallow copy in java?
What does sprintf return?
How to call one constructor from the other constructor ?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Which sorting is best in java?
What is java autoboxing?
In how many ways we can do exception handling in java?
What is volatile data type?
What are the different types of inheritance in java?
If a method is declared as protected, where may the method be accessed?
When will we use them?
What is the basic concepts of OOPS?
Write a program to find maximum and minimum number in array?
What is class forname?