   Java Guru Required
  Hi all, been playing around with skinning in Java synth and I can't resolve this one issue.http://i405.photobucket.com/albums/pp134/overeasyE36/Sushi/wrong.pngThe frame behind my JLabel is purple. The edges of my custom "border" are white. I have the "border" image saved as a PNG with alpha so this should not be the case. Opaque is set to false, yet nothing of the label is transparent, just white. When I set opaque to true, all the white becomes the appropriate color, including the transparencies.So. How do I make this look correct?Here is a simulated version:http://i405.photobucket.com/albums/pp134/overeasyE36/Sushi/simd.pngand my XML sheet<synth><style id="x">    <opaque value="false"/>    <state>    <color value="BLACK" type="FOREGROUND"/>    <color value="RED" type="BACKGROUND"/>    </state><imagePainter method="labelBorder" path="bubble.png" sourceInsets="5 5 17 5" paintCenter="false"/><insets top="5" bottom="17" right="5" left="5"/></style><bind style="x" type="region" key="Label"/></synth>
  I've tried creating a custom border by extending AbstractBorder, but it still seems I can't have transparency in the border but a solid background in the text. I also tried the synth approach using Labels, TextAreas, and TextPanes but it seems the desired effect only works on buttons (???).Help appreciated.   ;  First, make sure the "middle" of your bubble.png is the same cream colour as the near-border, and that the component your label is a child of has its actual background colour (as via setBackground()) set to what you want.Second, the opaque value=false in Synth should do it, but try setOpaque(false) where you create the label; Synth can be buggy like this.Last of all, make sure your components are laid out correctly. If there are any components overlapping anywhere down-parentage of a non-JLayeredPane component, blitting will be sporadic and confusing.EDIT: and one more thing; it's "Bump", not "Up".   ;  thanks, i'll try your approach tonight, for now i have a JPanel with my border and an opaque label in the center using a BorderLayout.bump, up, bamp, top, ttt, they are all acceptable ^_^   