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

Report as inappropriate.

Bennylit
Bennylit presents ...

2025/1/30

Mouse Utility Class, by Bennylit

This mouse class (download code and use for yourself, please) allows you to test many things that the Greenfoot MouseInfo class just doesn't do that great. It has
clicked()
pressed()
hovering()
and more methods to test mouse information. The best part is that all methods are static, so no need to create and update the mouse - just call Mouse.whateverMethod() and it will give the answer.
Please, enjoy!

270 views / 14 in the last 7 days

Tags: mouse demo with-source utility

open in greenfoot
Your browser is ignoring the <APPLET> tag.

No Comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.