classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeSWTTestApps page added to wiki


From: Thomas Fitzsimmons
Subject: Re: FreeSWTTestApps page added to wiki
Date: Tue, 22 Nov 2005 13:40:12 -0500

On Tue, 2005-11-22 at 13:02 -0500, Jeff Myers wrote:
> The Eclipse code that uses the XEmbeddedFrame is most likely the
> SWT_AWT bridge.  This class is a platform-dependent hack that's used
> to embed AWT/Swing within SWT apps, and vice versa.
> 
> See: 
> http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/awt/SWT_AWT.html
> 
> It'd be interesting to see how Classpath could provide APIs that allow
> similar function to SWT - as this function can not be achived using
> the public Java api.

We do provide similar functionality with gnu.java.awt.EmbeddedWindow
which gcjwebplugin uses to embed itself in Firefox.  That said, I
wouldn't encourage use of this class since it is private and subject to
change.

Tom

> 
>  - Jeff Myers
> 
> On 11/22/05, Meskauskas Audrius <address@hidden> wrote:
> > Egon Willighagen wrote:
> >
> > >Not implemented [need JDK 1.5 or greater] 
> > >(java.lang.ClassNotFoundException:
> > >sun/awt/X11/XEmbeddedFrame)
> > >
> > >
> > >
> > The problem is, the application is using the proprietary Sun class  from
> > the protected sun.* namespace. The Sun's license does not permit to add
> > classes from this package. Also, the class is probably totally
> > undocumented and we have no right to look into the Sun sources doing
> > "exactly the same".  If this does not come from Eclipse, we need can
> > rewrite the calling code.
> >
> > Best wishes
> > Audrius
> 
> 
> _______________________________________________
> Classpath mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath





reply via email to

[Prev in Thread] Current Thread [Next in Thread]