Skip to main content



      Home
Home » Newcomers » Newcomers » SWT on PocketPC
SWT on PocketPC [message #160442] Wed, 12 July 2006 07:06
Eclipse UserFriend
Originally posted by: erwan.saindrenan.insa-rouen.fr

Hi,

I'm a French student trying to display some nice things on a PocketPC
thanks to SWT.
I'm using J9 IBM on my PocketPC with Windows Mobile 2003 (J2ME-CDC).

I managed to get what I wanted on my PC. The problem is that I used
swt-win32-3232.dll and the swt.jar, which was associated...and that on my
PocketPC, the best dll I can have thanks to J9 seems to be
swt-win32-3050.dll (I had first tried with the swt.jar given for J2ME but
that didn't work).

The consequence is that some methods which worked on my PC, don't work on
my PocketPC.

I have especially identified two errors :
- setBackgroundImage (Image i) that I called on Shell is not found (which
seems quite logical since it is not mentioned on SWT API, but which worked
on my PC).

- setFont (Font f) that I Called on TableItem is not found (which is NOT
logical since it is mentioned on SWT API).

It is now more than one week that I'm desperately searching the web
without any result.

Finally, I decided to change my code, in order to have the same results
differently.
Here, I need to explain you what I want to get :
- on one of my shells, I want a Text (not a String, but an instance of the
class Text) being written over a background image.
- on another one, I want a Table being over my background image (on the
bottom part of it).

I tried lot of different things, read lots of articles. Yet, it doesn't
work unless I use my shell.setBackgroundImage which doesn't work before
swt-win32-32xx.dll.

Thanks a lot for any help
Previous Topic:Switching editor windows, searching newsgroups
Next Topic:Bug with debuging
Goto Forum:
  


Current Time: Sat Jun 21 10:44:18 EDT 2025

Powered by FUDForum. Page generated in 0.07978 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top