Re: Free Swing runs with JGoodies Forms
On Tue, 2005-12-06 at 02:26 +0100, Robert Schuster wrote: Thanks to all Swing hackers!!! Hey! I'm a Swing Hacker! You're welcome! Took a look at the screenshots, that's awesome! --Tony ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Free Swing runs with JGoodies Forms
Robert Schuster wrote: Thanks to all Swing hackers!!! JGoodies Forms, which contains a layout manager and some glue classes to make it harder to write bad GUIs, works with free Swing! Great! But ... where is the obligatory screenshot? :) cheers, dalibor topic ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Free Swing runs with JGoodies Forms
Great! But ... where is the obligatory screenshot? :) Yes. yes. Here it is: http://page.mi.fu-berlin.de/~rschuste/ffmki-classpath.png (running on JamVM Classpath 0.19+CVS) For reference. The same dialogs on JDK 1.5: http://bitecode.de/wiki/images/2/24/09-2004-launcher2.jpg http://bitecode.de/wiki/images/7/70/09-2004-launcher1.jpg Btw: The dialogs do not work on gij so some very recent changes must have made that possible. cya Robert signature.asc Description: OpenPGP digital signature ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Free Swing runs with JGoodies Forms
Thanks to all Swing hackers!!! JGoodies Forms, which contains a layout manager and some glue classes to make it harder to write bad GUIs, works with free Swing! This is so cool since my pet project Freefodder uses these libraries and I remember seeing tons of exception messages when trying to run it a few months back. Now these messages are gone and instead I can enjoy the GUI I developed back when I was stuck with the proprietary JDK. Thanks and keep hacking. :) cya Robert signature.asc Description: OpenPGP digital signature ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: A free swing milestone?
Hi David, On Wed, 2005-09-28 at 17:17 +, David Gilbert wrote: Today I was able to load and run to completion the JCommon test suite via JUnit's Swing-based test runner using JamVM and GNU Classpath CVS - here is a screen shot: http://www.object-refinery.com/classpath/junit-free.png Very cool! How would I run this myself? I downloaded jcommon-1.0.0-rc1 but could find any instructions on how to compile it or run the test suite. Cheers, Mark signature.asc Description: This is a digitally signed message part ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: A free swing milestone?
Mark Wielaard wrote: Hi David, On Wed, 2005-09-28 at 17:17 +, David Gilbert wrote: Today I was able to load and run to completion the JCommon test suite via JUnit's Swing-based test runner using JamVM and GNU Classpath CVS - here is a screen shot: http://www.object-refinery.com/classpath/junit-free.png Very cool! How would I run this myself? I downloaded jcommon-1.0.0-rc1 but could find any instructions on how to compile it or run the test suite. Cheers, Mark Hi Mark, I ran this against my local tree, but if you have downloaded the latest version of JCommon, a couple of steps should get it to run. This assumes you have unpacked the download archive and you've changed to the top level directory (the one with the README.txt file in it): (1) Unpack the test classes from the precompiled jar file: $ unzip jcommon-1.0.0-rc1-junit.jar I needed to do this so that the JUnit test runner could automatically find the tests - it's possible there is another way, but I don't know it. (2) Run the JUnit test runner with the correct classpath to find the precompiled JUnit tests, the JCommon classes, and the junit.jar file: $ jamvm -classpath .:jcommon-1.0.0-rc1.jar:lib/junit.jar junit.swingui.TestRunner Don't forget the first '.' in the classpath to include the current directory in addition to the jar files. To run the tests from the GUI, I clicked on the '...' button which brings up a list of all the tests found. I clicked on the JCommonTestSuite option in the list (it includes all the tests), clicked 'OK', and then clicked 'Run'. There are other ways that work too, and a fair few that will get the application into a bad state (but we can work on that). I think this (the JUnit GUI test runner) is a good application for us to polish up as a showcase for our free swing, because it is relatively simple, yet it is recognisable as a real-world application to the majority of Java developers (most of whom know about JUnit already). Regards, Dave P.S. If you prefer compiling the source code yourself before running the tests, change to the 'ant' subdirectory and type 'ant compile' (assuming you have Ant installed). But the above steps will work fine with the precompiled jar files included in the JCommon download. ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: A free swing milestone?
Hi David, On Sun, 2005-10-02 at 19:04 +, David Gilbert wrote: To run the tests from the GUI, I clicked on the '...' button which brings up a list of all the tests found. I clicked on the JCommonTestSuite option in the list (it includes all the tests), clicked 'OK', and then clicked 'Run'. There are other ways that work too, and a fair few that will get the application into a bad state (but we can work on that). Thanks that worked. And except for some drawing irregularities it actually seems to behave nicely. I think this (the JUnit GUI test runner) is a good application for us to polish up as a showcase for our free swing, because it is relatively simple, yet it is recognisable as a real-world application to the majority of Java developers (most of whom know about JUnit already). The only failures seemed to be Serialization issues with Font. I added some preliminary Serialization support and now we get all green! http://www.klomp.org/mark/classpath/junit-jcommon.png P.S. If you prefer compiling the source code yourself before running the tests, change to the 'ant' subdirectory and type 'ant compile' (assuming you have Ant installed). But the above steps will work fine with the precompiled jar files included in the JCommon download. Now that ant is in Debian unstable I installed it and tried it out. I had the following problem at first: BUILD FAILED /tmp/jcommon-1.0.0-rc1/ant/build.xml:245: The following error occurred while executing this line: /tmp/jcommon-1.0.0-rc1/ant/build.xml:228: Warning: Could not find file /tmp/jcommon-1.0.0-rc1/maven-jcommon-project.xml to copy. But removing all maven references from build.xml seemed to work around that and I could compile and change some code for better debugging. Cheers, Mark -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ signature.asc Description: This is a digitally signed message part ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: A free swing milestone?
Am Mittwoch, den 28.09.2005, 17:17 + schrieb David Gilbert: Perhaps I'm just the last to notice, but... Today I was able to load and run to completion the JCommon test suite via JUnit's Swing-based test runner using JamVM and GNU Classpath CVS - here is a screen shot: http://www.object-refinery.com/classpath/junit-free.png There are a few visible layout problems, but it worked! Thanks to all!! Wow, this is looking impressive. Thanks to you too! /Roman signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
A free swing milestone?
Perhaps I'm just the last to notice, but... Today I was able to load and run to completion the JCommon test suite via JUnit's Swing-based test runner using JamVM and GNU Classpath CVS - here is a screen shot: http://www.object-refinery.com/classpath/junit-free.png There are a few visible layout problems, but it worked! Thanks to all!! Regards, Dave ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: A free swing milestone?
http://www.object-refinery.com/classpath/junit-free.png There are a few visible layout problems, but it worked! Thanks to all!! Wow - looks pretty impressive. Great job free swing hackers - thanks a lot! lg Clemens ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Re: Free Swing?
Brian Jones wrote: Maksim Lin [EMAIL PROTECTED] writes: BTW, I'm not sure that providing a plug-in replacement is a particularly good idea (though I wouldn't complain if someone did it) since it would take huge resources and swing isn't particaulrly brillant anyway (nice yes - great no). Having a "light" replacement such as the dogui tk would probably be just as good an alternative, with people developing other widgets as needed - thouhg a decent architecture would be needed, swing has very flexible architecture and perhaps suffers a bit for it. javax.swing is part of the core library set as of 1.2, or Java 2, however you'd like to say it. The end result is we have to implement it and we will. I thought that the whole point of the "javax" prefix was to denote things that weren't standardized as part of the core library set -- java eXtensions. xtoph
Re: Free Swing?
I thought that the whole point of the "javax" prefix was to denote things that weren't standardized as part of the core library set -- java eXtensions. I thought so as well. Servlets were part of the standard Java package while still having a javax prefix, but were later removed. Confusion on Sun's part? Daniel
Re: Free Swing?
I thought that the whole point of the "javax" prefix was to denote things that weren't standardized as part of the core library set -- java eXtensions. I thought so as well. Servlets were part of the standard Java package while still having a javax prefix, but were later removed. Confusion on Sun's part? All will be clear ... http://www.javasoft.com/products/jfc/package.html I think this means that because it's "javax." it will be downloadable by applets running in web browsers, whereas if it were just "java." it would not be (due to security concerns). Chris Dailey
Re: Free Swing?
Paul Fisher writes: Is there a free implementation of Swing avalible The GNU Classpath project URL:http://www.classpath.org has started work on a free implementation of Swing; however, it will be some time before it's completed. Is this using your AWT? I gather from Kaffe's source that Swing is not cleanly implemented, so if you want to have a drop-in for javax.swing, it might require the same hidden dependencies on AWT. There is an LGPL project implementing AWT on top of Swing, to create a lightweight AWT. Have you considered a lightweight AWT (minimal native peers) for Classpath? Is this possible - as a drop-in replacement? Is there significant overlap (in pure Java code) with the free Swing implemetation? The reason I'm asking: I am looking for a lightweight LGPL AWT implementation that is standalone (not VM specific) and has a minimal native X11 peer that I can rewrite to be GLX based. I.e. I want to use OpenGL to render the widgets. I suspect that this won't work with your GTK based AWT, right? Kaffe's lightweight AWT looks better suited for this. Who's working on the Classpath Swing? b.
Re: Free Swing?
I'm not sure if this is quite what your looking for, but I've found a nice awt-type toolikit called dogui (http://www.dog.net.uk/knife/) whihc provides a replacement some extra widgets to the awt and has a nice swing-metal LF. I think it is only dependent on the basic bits of the awt (like frame, graphics classes etc) so it is "light-weight". BTW, I'm not sure that providing a plug-in replacement is a particularly good idea (though I wouldn't complain if someone did it) since it would take huge resources and swing isn't particaulrly brillant anyway (nice yes - great no). Having a "light" replacement such as the dogui tk would probably be just as good an alternative, with people developing other widgets as needed - thouhg a decent architecture would be needed, swing has very flexible architecture and perhaps suffers a bit for it. Maksim. Brian Jones wrote: Bernd Kreimeier [EMAIL PROTECTED] writes: Paul Fisher writes: Is there a free implementation of Swing avalible The GNU Classpath project URL:http://www.classpath.org has started work on a free implementation of Swing; however, it will be some time before it's completed. Is this using your AWT? I gather from Kaffe's source that Swing is not cleanly implemented, so if you want to have a drop-in for javax.swing, it might require the same hidden dependencies on AWT. Sun's work usually relies upon knowing what particular package protected data members represent and how they are manipulated. So far I've found documentation on those lacking. The implementation should be API and serializable similar, but beyond that I couldn't guarantee 'drop-in' type qualities. Who's working on the Classpath Swing? No one is just yet. I'm exploring the waters a bit by attempting to write a GTK/Gnome PLAF. Brian -- Remember Darwin; building a better mousetrap merely results in smarter mice.
Re: Free Swing?
Bernd Kreimeier [EMAIL PROTECTED] writes: Paul Fisher writes: Is there a free implementation of Swing avalible The GNU Classpath project URL:http://www.classpath.org has started work on a free implementation of Swing; however, it will be some time before it's completed. Is this using your AWT? I gather from Kaffe's source that Swing is not cleanly implemented, so if you want to have a drop-in for javax.swing, it might require the same hidden dependencies on AWT. Sun's work usually relies upon knowing what particular package protected data members represent and how they are manipulated. So far I've found documentation on those lacking. The implementation should be API and serializable similar, but beyond that I couldn't guarantee 'drop-in' type qualities. Who's working on the Classpath Swing? No one is just yet. I'm exploring the waters a bit by attempting to write a GTK/Gnome PLAF. Brian