[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-swt-dev] Mixing SWT and AWT/Swing
|
Hello SWTians,
I am a newbie in SWT programming and I have a question you probably get quite often:
Is it possible to mix SWT and AWT | Swing components?
More specifically, I am interested in including SWT controls inside AWT frames.
I have a couple of existing dull Frames that could use a little "life"...
I have tried using the SWT_AWT.new_Panel method but to no result.
Unfortunately, it does not come with any documentation so as to give me a hint.
BTW, why, when calling that method, do the relevant controls get "erased" from screen?
(I have a feeling that SWT and AWT are incompatible due to the different event mechanisms, but then again I may be wrong...)
I would be grateful if you could point me to a relevant link or a simple how-to example so I can get started. (provided, of course, such a mixture is possible)
In case you have already answered a similar question in the forum, you may as well point me to that answer.
Thank you for your time,
Best regards,
Stelios Gerogiannakis
Software Engineer
Technical Division
sgerogia@xxxxxxxxxxxxx
Archetypon S.A.
236, Sygrou Av.
17672, Kalithea, GR
tel: +3-010-9536427 (direct)
+3-010-9536410 (reception)
fax: +3-010-9536411
http://www.archetypon.gr