aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How do i add a circles without the black corners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How do i add a circles without the black corners" Watch "How do i add a circles without the black corners" New topic
Author

How do i add a circles without the black corners

frank van schie
Greenhorn

Joined: May 16, 2011
Posts: 7
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

Joined: May 16, 2011
Posts: 7
Try to set the background opaque



like that
 
Consider Paul's rocket mass heater.
 
subject: How do i add a circles without the black corners