Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Window applet and mouse pointer

843807Aug 17 2010 — edited Aug 17 2010
Hi all!

I am developing a framwork to create educacional games to the OLPC (one laptop per child) project.

So, in this framework the games run in a Window application (JFrame) over a JApplet.


The problem is that I dont know how to hide the mouse pointer that appears over my window applet. I try to use the Toolkit.createCustomCursor(..) and them use the setCursor(..) method, but not work because the security policy.


Anybody have some ideia about how can I solve this problem?

here is a link that demonstrate my application running, and the mouse pointer over all the graphics.

http://nti.catolica-to.edu.br/Imagens/screenucamouse.png


Thank you!

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 14 2010
Added on Aug 17 2010
3 comments
1,999 views