aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How draw background (behind image) in only one part, and draw buttons/components? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How draw background (behind image) in only one part, and draw buttons/components?" Watch "How draw background (behind image) in only one part, and draw buttons/components?" New topic
Author

How draw background (behind image) in only one part, and draw buttons/components?

Dan Bizman
Ranch Hand

Joined: Feb 25, 2003
Posts: 387
OK, I know how to draw the background behind a JWindow using Robot (I found the code - see below), but I'm not sure how to draw my JWindow as normal (with buttons, panels, etc) EXCEPT for the corners which I want rounded and transparent. Can anyone help me here? I'm not totally certain how to go about this.

Thanks!

OK, here's the transparent code I found, which draws a see-though window with a circle.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How draw background (behind image) in only one part, and draw buttons/components?