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
What are static blocks in java ?
Are primitives objects?
What is the purpose of the system class in java?
What is singleton class and how can we make a class singleton?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
Define array. Tell me about 2-D array.
What is a parameter in java?
Why do we create threads in java?
How to display all the prime numbers between 1 and 100
Explain the difference between map and flatmap stream operation?
How strings are created in java?
What is a jit compiler?
What is exception propagation?
What is the difference between normal report & matrix report?