Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Semi-transparent drawing  RSS feed

 
Matthew Smith
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a component with complicated drawing and I want to draw a semi-transparent mask over it (sort of like a selecting tool) but I don't really want to have to draw any of the underlying component again (as this is quite slow).
Any ideas?
Cheers,
Matthew
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the following example code... it should help you some...

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!