Hi,
It's pretty difficult to know from your quick description where the problem would lie. There is no inherent problem with using transparent internal frames in Swing, but you need to make sure to set and use the opacity property of the component(s) appropriately and to do the right thing during paintComponent(). Other than that very high-level suggestion, it's hard to know what else to say. There could be a bug lurking here in how we implement scrolling (devCopyArea) on translucent components, but a test case would sure help...
Chet.
Clifford Lyon wrote:
Hello list, I have a Java 2D application where I show an image, and then display a transparent internal frame over the image that exposes controls to the user for adjusting parameters. Everything works fine, except when moving the knob on my JSlider, the internal frame background fills with random stuff. Any way around that? Custom painting?
tia =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
