I have an ImageIcon which is an image of a router. I added this ImageIcon to a label. But labels are either rectangles or squares. I want such a component that takes the shape of the ImageIcon when added to it. Does such a component exist? Is there any other way of doing it?
+1
A:
Yes label is rectangular but it is transparent by default( call setOpaque( false )
if it isn't ). Isn't that what you want?
eugener
2010-03-30 21:05:23