Re: FreeSWTTestApps page added to wiki

2005-11-26 Thread Mark Wielaard
On Tue, 2005-11-22 at 16:29 +0100, Roman Kennke wrote:
> Am Dienstag, den 22.11.2005, 13:23 +0100 schrieb Egon Willighagen:
> > Anyway, I added a FreeSWTTestApps to the Classpath wiki using the same 
> > setup 
> > as the FreeSwingTestApps page. 
> 
> Very nice indeed!

To complete the Free GUI Toolkits set I also added a FreeAWTTestApps
page. Also linked from the frontpage now.
http://developer.classpath.org/mediation/FreeAWTTestApps
Currently it only lists MegaMek which is a bit big for a simple test
application. So additional simpler Free AWT Test Applications wanted!

It might be interesting if we also had pages for test applications that
use Generics or Graphics2D explicitly so people can concentrate on those
if they want.

BTW. If you add new applications please do add a little more info then
just a reference to some homepage. We want these pages to be good
starting points for developers wanting a little hacking challenge. So
please include specific download, build and run instructions whenever
possible. The FreeSwingTestApps page has a lot of references without any
indication what precisely should be tested or how at the moment.

Cheers,

Mark



___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: FreeSWTTestApps page added to wiki

2005-11-26 Thread Michael Koch
On Tue, Nov 22, 2005 at 01:40:12PM -0500, Thomas Fitzsimmons wrote:
> 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.

When I initially wrote the EmbeddedWindow stuff it was meant as an
official extension and not meant to be kept private for all time. We
should have some offical interface to provide this functionality.
I vote for keeping this interface stable. There are clearly much more
usecases then gcjwebplugin and Eclipse AWT/Swing integration for this.


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/


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: FreeSWTTestApps page added to wiki

2005-11-25 Thread Tom Tromey
> "Roman" == Roman Kennke <[EMAIL PROTECTED]> writes:

>> Not implemented [need JDK 1.5 or greater]
>> (java.lang.ClassNotFoundException: sun/awt/X11/XEmbeddedFrame)

Roman> Bleah. It's not that this is a JDK1.5 feature which is missing, it is an
Roman> unspecified class that is used by this program or maybe eclipse. We do
Roman> not provide classes in the com.sun namespace. Maybe file a bugreport to
Roman> Eclipse or this program that they should not use such classes if they
Roman> want to produce portable code.

I had a funny idea about this recently -- wouldn't it be cool if
Eclipse had a built-in 'quick fix' to fix the most common uses of
'com.sun.*'?  In particular I'm thinking this could be done for the
Base64 encoder thing that we run into so often.

Tom



___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Egon Willighagen
On Tuesday 22 November 2005 16:29, Roman Kennke wrote:
> You probably should try latest CVS. There was a huge amount of progress
> in the Swing package in the meantime.

Yes, will try that some time...

> > Yesterday a bio-/chemoinformatics platform project was announced:
> > Bioclipse[1]. It's eclipse based, so normally no Swing stuff. I was able
> > to boot the program with jamvm and classpath 0.18, but added a new 'view'
> > for 2D and 3D rendering of molecular structures did not work with this
> > problem:
> >
> > Unhandled event loop exception
> > Reason:
> > Not implemented [need JDK 1.5 or greater]
> > (java.lang.ClassNotFoundException: sun/awt/X11/XEmbeddedFrame)
>
> Bleah. It's not that this is a JDK1.5 feature which is missing, it is an
> unspecified class that is used by this program or maybe eclipse. We do
> not provide classes in the com.sun namespace. Maybe file a bugreport to
> Eclipse or this program that they should not use such classes if they
> want to produce portable code.

Yeah... It's a reported bug with eclipse... meanwhile, in bioclipse we're 
trying to loose the AWT/SWT bridge that seems to use this class...

> > I think this comes from the Eclipse RCP stuff itself, though I don't have
> > a full stacktrace at this moment.
>
> A full stacktrace would surely help to find out if this is Eclipse's
> failure or from the program.
>
> > Anyway, I added a FreeSWTTestApps to the Classpath wiki using the same
> > setup as the FreeSwingTestApps page.
>
> Very nice indeed!

Ack. will report later.

E.

-- 
[EMAIL PROTECTED]
PhD student on Molecular Representation in Chemometrics
Radboud University Nijmegen
Blog: http://chem-bla-ics.blogspot.com/
http://www.cac.science.ru.nl/people/egonw/
GPG: 1024D/D6336BA6


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Thomas Fitzsimmons
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 <[EMAIL PROTECTED]> 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
> Classpath@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath



___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Jeff Myers
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.

 - Jeff Myers

On 11/22/05, Meskauskas Audrius <[EMAIL PROTECTED]> 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
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Meskauskas Audrius

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
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Roman Kennke
Hi Egon,

Am Dienstag, den 22.11.2005, 13:23 +0100 schrieb Egon Willighagen:
> (Please cc me, as I am not yet subscribed)
> 
> Hi all,
> 
> I'm attempting to setup a live CD for chemoinformatics, which will include 
> Java software too. I already tested Jmol and JChemPaint with jamvm and 
> classpath 0.18 (see FreeSwingTestApps in wiki), which doesn't go that bad 
> actually, though not up to production level yet.

You probably should try latest CVS. There was a huge amount of progress
in the Swing package in the meantime.

> Yesterday a bio-/chemoinformatics platform project was announced: 
> Bioclipse[1]. It's eclipse based, so normally no Swing stuff. I was able to 
> boot the program with jamvm and classpath 0.18, but added a new 'view' for
> 2D and 3D rendering of molecular structures did not work with this problem:
> 
> Unhandled event loop exception
> Reason:
> Not implemented [need JDK 1.5 or greater] (java.lang.ClassNotFoundException: 
> sun/awt/X11/XEmbeddedFrame)

Bleah. It's not that this is a JDK1.5 feature which is missing, it is an
unspecified class that is used by this program or maybe eclipse. We do
not provide classes in the com.sun namespace. Maybe file a bugreport to
Eclipse or this program that they should not use such classes if they
want to produce portable code.

> I think this comes from the Eclipse RCP stuff itself, though I don't have a 
> full stacktrace at this moment.

A full stacktrace would surely help to find out if this is Eclipse's
failure or from the program.

> Anyway, I added a FreeSWTTestApps to the Classpath wiki using the same setup 
> as the FreeSwingTestApps page. 

Very nice indeed!

/Roman



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


FreeSWTTestApps page added to wiki

2005-11-22 Thread Egon Willighagen

(Please cc me, as I am not yet subscribed)

Hi all,

I'm attempting to setup a live CD for chemoinformatics, which will include 
Java software too. I already tested Jmol and JChemPaint with jamvm and 
classpath 0.18 (see FreeSwingTestApps in wiki), which doesn't go that bad 
actually, though not up to production level yet.

Yesterday a bio-/chemoinformatics platform project was announced: 
Bioclipse[1]. It's eclipse based, so normally no Swing stuff. I was able to 
boot the program with jamvm and classpath 0.18, but added a new 'view' for
2D and 3D rendering of molecular structures did not work with this problem:

Unhandled event loop exception
Reason:
Not implemented [need JDK 1.5 or greater] (java.lang.ClassNotFoundException: 
sun/awt/X11/XEmbeddedFrame)

I think this comes from the Eclipse RCP stuff itself, though I don't have a 
full stacktrace at this moment.

Anyway, I added a FreeSWTTestApps to the Classpath wiki using the same setup 
as the FreeSwingTestApps page. 

Egon

1.http://www.bioclipse.net/


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath