GeeCON Prague 2014*
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


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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i add a circles without the black corners