[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Graphics Context doesn't work!

Hello,

If your goal is to draw something (a line) in a Composite added to a page of an editor or anywhere else you need to add a PaintListener to your composite:

..
composite..addPaintListener(new PaintListener() {