Transparent free floating windows.

Do java support transparent uncontrained windows without borders similar to the effect used by quicktime or windows media player?

// Tomas

If you mean the non-rectangular toplevel windows without decorations, then no.

There’s support for undecorated frames, though.
(see java.awt.Frame.setUndecorated() method).

Well, it depends on what you mean with “Java” :slight_smile: AFAIK, neither AWT nor Swing can handle non-rectangular windows, but SWT (the widget toolkit used by Eclipse) can. See here and here for examples.

Neither AWT nor SWT support translucent windows. You could emulate it by using the Robot class to make background snapshots. With a little bit of native code, you could activate translucency on Windows 2K and above for SWT.

Nice, I’ll try the SWT approach.

Cheers
// Tomas

For the love of all that is good and holy, use square windows!

It’s not me, its my cutomers and the customer is always right :wink: