[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-swt-dev] Patch for SWT_AWT
|
I have tested with JDK
1.3 and 1.4 and Windows 2000. All of the knowledge/code was taken from the
following page, which is included in the JDK 1.3 docs:
The code only works
with Windows because (a) I don't know
too much about X and (b) I don't
have Linux installed anywhere. It shouldn't
be too hard to port to X if there is a way to create a Shell from a
Drawable(?).
The only quirk with the code is the part that loads jawt.dll (the loadJawtLibrary
function). During
testing I found that the code failed to load
jawt.dll when the code was run using the invocation API. When I ran the code with java.exe it
worked fine. I'm not sure if
it's something that I am doing wrong, but I haven't figured out a way around
it.
Matt
Cool. What JDK versions does it work with and
what OS platforms have you tested it on?
The file swt.c is generally for native OS calls so we would probably
keep the AWT integration native stuff seperate as I assume it is
platform independant.
Send
the patch to this mailing list and we will check it out. Before sending
a patch, please be sure that it does not include any code that is copied from
AWT source that is not publicly available and that it does not make use of any
knowledge of AWT that is not publicly available.
Thank you,
Veronika
| "Di Iorio, Matthew (ISS Atlanta)"
<MDiIorio@xxxxxxx> Sent by: platform-swt-dev-admin@xxxxxxxxxxx
25/04/2002 05:52 PM Please respond to platform-swt-dev
| To:
"'platform-swt-dev@xxxxxxxxxxx'"
<platform-swt-dev@xxxxxxxxxxx> cc:
Subject: [platform-swt-dev] Patch for
SWT_AWT |
I
have version of the SWT_AWT class using JAWT that I wanted to
contribute.
Part of the class is implemented natively and I'm not quite
sure how that
fits into the Eclipse project. Would the native part be
patched into the
swt.c file? Right now I have it in its own
file.
Thanks,
--
Matt Di Iorio
Software Engineer
mdiiorio@xxxxxxx
Phone: (404) 236-2748
Internet Security Systems
(http://www.iss.net)
_______________________________________________
platform-swt-dev
mailing
list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Attachment:
SWT_AWT.zip
Description: Binary data