Oups, sorry Timothy. Actually it seams that even with just calling
setWindowTransparent we get the same behavior. We'll make some more tests
and see why this fix does not work in our case.
Thanks again!
Yana
Thanks for your reply, Timothy!
Yes, we're using OSX. We've just tried with the new version of WindowUtils
and here's what happens: Only calling
WindowUtils.setWindowTransparent(mainFrame, true) fixes the drag and drop
problem but we get a 100% transparent window. This is not quite what we need
though so we're setting a semi transparent content pane to our window, which
reverts to the old drag behaviour. Is there a way to have the
semi-transparency and not have the window draggable? Are we missing
something?
Yana
On Fri, Aug 22, 2008 at 1:54 AM, Timothy Wall <twal...@dev.java.net>wrote:
On Aug 21, 2008, at 6:29 PM, Yana Stamcheva wrote:
In our application we're using WindowUtils and AlphaMaskDemo as a base
BTW, there's nothing in AlphaMaskDemo that's necessary for transparency.
Once you call WindowUtils.setWindowTransparent(w, true), individual pixel
transparency will be preserved.
Originally AlphaMaskDemo had all the grimy details of per-platform
transparency implementations, but all of that is now encapsulated (and
cleaned up) in WindowUtils.