[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Graphics Context doesn't work!
|
- From: nightblue99@xxxxxxxxx (nightblue)
- Date: Fri, 8 Jul 2005 10:25:31 +0000 (UTC)
- Newsgroups: eclipse.platform.swt
- Organization: not organized
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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