• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

Thanks!

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

 
reply
    Bookmark Topic Watch Topic
  • New Topic