3 messages in net.java.dev.jna.usersRe: [jna-users] Windows Problem
FromSent OnAttachments
Bruno LedesmaJan 8, 2008 10:00 am 
Timothy WallJan 12, 2008 11:40 am 
Bruno LedesmaJan 14, 2008 8:16 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Windows ProblemActions...
From:Timothy Wall (twal@dev.java.net)
Date:Jan 12, 2008 11:40:51 am
List:net.java.dev.jna.users

If you're using X11 or windows, the transparency code depends on a component placed on top of all other components to trigger window repaints whenever anything below it is repainted. On repaint, the top component paints the frame contents into a buffer, and then composites that buffer onto the screen, preserving the buffer's transparency.

You may need additional repaint triggers, or your system may have trouble keeping up with the screen compositing (even when writing native code, microsoft recommends keeping frames with alpha blending small, since they can't take advantage of DirectDraw rendering (this may be different under Vista).

What is your platform (OS, hardware, VM version, etc)?

On Jan 8, 2008, at 1:00 PM, Bruno Ledesma wrote:

Hello, my name is Bruno and i´m a Java Developer from Brazil.

I use de clockDemo code (found on the jna.dev.java.net page) to build a GUI with a Transparent Window and a JInternalFrame. I added some components inside that frame and the JButton its disappearing some thimes, some times it blinks a while. When i turn off the window transparency activated by the WindowUtils method the problem dont occur.

can you give me some help?

Bruno Ledesma.