File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Graphics roaming around desktop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Graphics roaming around desktop" Watch "Graphics roaming around desktop" New topic

Graphics roaming around desktop

Kodie Killian

Joined: Apr 26, 2004
Posts: 1
Anybody remember the little pet applications where a dog or cat is wandering around the desktop and interacting with your mouse pointer? Is there a way to do something like this in Java? Whether on the desktop or within a browser window but on top of your web page... If so, would this be done by making the frame transparent and some how allowing a mouse action to happen on the Items below the transparent fram?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

With the standard java api there is no way to make a transparent frame like you are wanting.
However, you can use the Skin L&F to do this. The transparent Windows will only work on the Windows platform though as it uses JNI.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Graphics roaming around desktop
It's not a secret anymore!