This site requires JavaScript, please enable it in your browser!
Greenfoot back
umeshtaware
umeshtaware wrote ...

2014/11/4

Mouse info

umeshtaware umeshtaware

2014/11/4

#
I need name of component which mouse pointer is currently pointing to.ex.if curser on d drive it should output drive name...please help
Srax Srax

2014/11/4

#
More specific please.
danpost danpost

2014/11/4

#
MouseInfo objects can give you any actor it may be on with the 'getActor' method; and the 'toString' method should work on that. However, the string given may not be quite what you are looking for. In that case, you need to show the code you are attempting to use, so we can get a better idea of how to help (if possible). Look below the content box for a link on how to post code.
You need to login to post a reply.