Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 28, 2005 23:34:12

Sebastian M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

SWT_AWT bridge with gcj !?


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.

regards.


--
To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Offline

#2 Nov. 29, 2005 07:30:23

Michael K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

SWT_AWT bridge with gcj !?


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.htmlJoin the community athttp://planet.classpath.org/--
To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Offline

#3 Nov. 29, 2005 09:08:26

Mark W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

SWT_AWT bridge with gcj !?


Hi,

On Tue, 2005-11-29 at 09:34 +0100, Michael Koch wrote:
> On Tue, Nov 29, 2005 at 12:33:52AM +0100, Sebastian Menge wrote:
> 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.

For those wanting help out. The embedded window support class from GNU
Classpath is gnu.java.awt.EmbeddedWindow. Some more background on the
bridge and SWT support in general can be found in the developer wiki:http://developer.classpath.org/mediation/FreeSWTTestAppsAnd some more background can be found in this mailing list thread:http://lists.gnu.org/archive/html/classpath/2005-11/msg00162.htmlCheers,

Marksignature.ascDescription:This is a digitally signed message part

Attachments:
attachment signature.asc (189 bytes)

Offline

Board footer

Moderator control

Enjoy the 22nd of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support