This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Dan Bizman
Ranch Hand
Posts: 387
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


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

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic