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

Hi;

Check that use graphic context (GC) after the shell is open, if before the shell.open then all graphics that draw are erased.


//Some operations ........ Create Composite ....... others

shell.open();

//You have to draw after open

GC gc = new GC(composite);
//draw anything you want