[Swingwt-developers] checked in AWTonSWT
Status: Beta
Brought to you by:
bobintetley
From: Scott C. <sc...@co...> - 2006-03-23 14:37:37
|
I also finally checked in AWTonSWT at the top level of cvs. If you want to try it you'll have to apply part of the patch which is in AWTonSWT to SwingWT. The only part of this patch you need is the changes to SWTGraphics2DRenderer. I haven't checked these changes in because they are still messy. To run it I had to add AWTonSWT and SwingWT (and its dependencies) to the boot classpath. I also had to copy the swt native libraries into jdk/jre/lib/[platform]/ It seems the java.native.lib property isn't used by the bootclassloader. And finally you need add something like the following when you run java: -Dawt.toolkit=awtonswt.SWTToolkit -Djava.awt.graphicsenv=awtonswt.SWTGraphicsEnvironment -Djava2d.font.usePlatformFont=false -Djava.awt.fonts=/opt/sun-jdk-1.4.2.10/jre/lib/fonts I'm just starting to try it on OSX. Scott |