I have the following line of code in the mouseEntered event of a JtextField: txt.setCursor (Cursor.getSystemCustomCursor ("Invalid.32x32")); If the component is enabled (setEnabled (true)) the changes are applied. But if it is disabled, nothing happens. Any help would be great. From already thank you very much
Asked
Active
Viewed 55 times
0
-
Take a look at [this answer](https://stackoverflow.com/questions/9073687/wait-cursor-and-disable-java-application). – Tom Jan 11 '22 at 09:52
-
thanks tomás !! But I was able to figure out what I wanted to do by replacing "txt" with "this" – Mauro Acosta Jan 11 '22 at 10:48
-
1*"I was able to figure out what I wanted to do"* Please either answer the question below or delete it using the link below the tags. I suggest the 2nd, as this does not provide enough value for future visitors. Glad you got it sorted. – Andrew Thompson Jan 11 '22 at 11:46