Question: How can you change the cursor shape in Java Swing? Question 1 7 Answer a . By calling the setCursor ( ) method on the
How can you change the cursor shape in Java Swing?
Question Answer
a
By calling the setCursor method on the component and passing a predefined cursor constant.
b
By setting the cursor property of the component to a predefined cursor constant.
c
By calling the setCursorShape method on the component and passing a cursor shape object.
d
By calling the setCursorType method on the component and passing a cursor type constant.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
