On Tue, Nov 29, 2005 at 12:33:52AM +0100, Sebastian Menge wrote: > Hi > > has anyone experiences using the SWT_AWT bridge with gcj? > > If i remember right, the only way to get SWT_AWT run under linux is to > use a Sun j2sdk 5.
The problem is that SWT_AWT uses a class that is only available in SUN-derived VMs. This class is in a protected namespace and not docmented publicly. GNU classpath derived VMs cannot implement it. This is some legal barrier too. GNU classpath provides a similar mechanism to embed windows in remote applications called EmbeddedWindow extension. This extension exists only in GNU classpath derived VMs. The question is if Eclipse can find a way to support both (the first for SUN derived VMs and the later for GNU classpath derived VMs). The best solution would be to submit a JSR to add an extension like this to the official Java API. Then both sides (and others too) can implement it and all applications can use the same code for all VMs. Cheers, Michael -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]