Tooltip Transparency
Hi
I'm trying to create a tooltip with semi-transparent background, so far i've tried changing the paint method by extending the TooltipUI class, but so far I haven't had much luck, the background color fades, but it does not show the background, i've been using this to set transparency:
publicvoid paint(Graphics g, JComponent c){
Composite compo= AlphaComposite.getInstance(AlphaComposite.SRC_ATOP,
.7f);
Graphics2D g2 = (Graphics2D)g;
g2.setComposite(compo);
g2.setColor(new Color(255,0,0));
g2.fillRect(0,0,c.getWidth(),c.getHeight());
}
Like i said, the color fades, but it does not show anything that's behind, any help on this would be appreciated

