[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: SWT on MIDP
|
Hi Assaf,
It is possible to use SWT with CLDC. MIDP which is based on CLDC also
defines its own UI. Some MIDP implementations may internally use a subset
of SWT, which is maybe why you see these org.eclipse.swt.widget.* classes.
But a portable midlet should probably be only using the public MIDP api.
If you want to write SWT apps over CLDC (and not just midlets), here are
some hints.
- get a J2ME/CLDC swt.jar for your platform. You can get one for PocketPC
under the Eclipse download page. If you need it for other platforms,
please let us know and I'll provide more details.
- If you are using the j9 VM with the CLDC class library, you can start
your CLDC SWT app with something like:
\j9cldc\bin\j9.exe -jcl:cldc:loadlibrary=swt-win32-2133
-Djava.home=\j9cldc -cp:\j\swt.jar;\j\myapp.jar myCldcSwtApp
(instruct the VM to load the swt native library, and set the classpath to
include the swt.jar and your own jar)
If you are interested and need more info, let us know.
Chris