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 Painting on screen outside of window? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Painting on screen outside of window?" Watch "Painting on screen outside of window?" New topic

Painting on screen outside of window?

Len Padson
Ranch Hand

Joined: Nov 21, 2011
Posts: 40
Hello!! How would I go about painting an image on the screen over other applications? For example, if I wanted to have a man run across the screen, but without a jframe. So it would look like the man was running on top of whatever application was currently being run?

Thanks in advance for your help!!!
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I googled for "transparent window java" -- because you would have to draw your running man on a window controlled by your application -- and the first thing it came up with was actually an Oracle tutorial: How to Create Translucent and Shaped Windows. There were other links returned that looked like they might be useful but I didn't follow them.
jQuery in Action, 3rd edition
subject: Painting on screen outside of window?
It's not a secret anymore!