[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: fillGradient on a Figure

Hi,

You could switch to using a plain Figure for the content pane and it wouldn't cover up your gradient.

I've done so and overridden paintFigure(Graphics g). Now the gradient works fine :-)


Put a breakpoint to see if the method is called. Also, the foreground and BG colors are important.

I put a breakpoint. The method fillShape(Graphics g) of RectangleFigure was never called...


Thx a lot.