|
|
|
Re: awt in the RAP [message #546843 is a reply to message #546836] |
Wed, 14 July 2010 12:22 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi zhuzekun,
here [1] is an article about GraphicsContext. Currently (with RAP 1.3),
we support drawing ONLY in Canvas widget.
[1] http://www.eclipse.org/articles/Article-SWT-graphics/SWT_gra phics.html
Best,
Ivan
On 07/14/2010 3:04 PM, zhuzekun wrote:
> HI, Ivan:
> can you give some detail information. in fact, i can paint with
> the swing tools. the key code is:
> Frame f = SWT_AWT.new_Frame(convert);
> f.add(JPanel);
> the JPanel containers tools painted with swing tools.
> in the rap, we can still obtain the JPanel, but i do not know how to
> obtain the Frame because the formula SWT_AWT.new_Frame() have no
> action in the RAP. so, can somebody make some adivices.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03894 seconds