Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i add a circles without the black corners

 
frank van schie
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i add a circles without the black corners?

the setBounds(int,int) method creates a square (or rectangular) shape meaning overlapping circles display a small corner.

i tried setting the foreground and/or background color to null and to the actual background.
is there a way to set the colour of setbounds to transparent or something?

 
frank van schie
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to set the background opaque



like that
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic