I am having trouble using AWT on a PC running Neutrino with Momentics (PE) installed.
With Momentics installed it is possible to use basic Java text io functionality but not AWT.
Having found no clear instructions on getting AWT to work in this environment I have done the following:
(a) Downloaded WSDD 5.5
(b) Copied libswt-photon-2130.so into usr/qde/eclipse/jre/bin/libswt-photon-2130.so
(c) Unpacked ppro-ui-qnx.zip and jclMax/classes.zip into a single directory structure.
I can now use j9c and j9 (but not eclipse) to build and run java that uses simple awt components (buttons), if I specify this unpacked directory structure as the classpath. (I couldn’t get it to work referencing the multiple zip files and I couldn’t get eclipse to use the JRE and the external ppro-ui-qnx.zip together).
However I get exceptions when I try to use java.awt.FontMetrics; java.awt.Graphics2D; and java.awt.geom.* classes to build my own button from a java.awt.Component.
I get the feeling that I am going about this all wrong - its got to be easier to get AWT running than this…
Please can anybody help