PDA

View Full Version : Is it possible to make a 'widget' like program in Java



speedsix
March 10th, 2007, 12:19 PM
i.e one that is..

transparent and undecorated so unable to close with the x or minimise
always underneath everything else, i.e fixed to the desktop



Thanks

Dom

phossal
March 10th, 2007, 02:11 PM
A JWindow, with no default close operation?

speedsix
March 12th, 2007, 04:05 PM
How would I ensure it never had focus and remained underneath everything, i.e pinned to the desktop?


Thanks


Dom

Hendrixski
March 12th, 2007, 04:45 PM
What about with the Google Web Toolkit. That's Java based, and it does Widgets. They're not just browser-based though, are they?

Also, if you google Java Widget then there are a lot of links that come up. So... yes, it's possible, I've never tried it. :)

phossal
March 13th, 2007, 12:07 AM
What are you really trying to accomplish? A glasspane and custom event handlers can deflect focus. You don't even want to be able to alt-tab the window into focus?