This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 15292

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
wood burning stoves
subject: Graphics roaming around desktop
Similar Threads
Crazy Game
How do I find mouse location
Drawing in XORMode or Layers?
SYSTEM mouse events?
image transperancy