On Fri, 2003-06-27 at 04:13, Sascha Brawer wrote: > Hi all, > Hello,
> I am glad to announce that the GNU Classpath implementation of the > package "javax.swing.plaf" has been finished. Cool. > This package provides > abstract base classes for pluggable look and feels, so most of the work > has been to write documentation. > > Like javax.swing.border and javax.swing.plaf.basic.BasicBorders, the code > has been tested by prepending the Classpath implementation to the > bootclasspath of a Sun JDK, and running SwingSet2. > > For a UML diagram that (sort of) explains Swing's pluggable look-and-feel > architecture, see the file javax/swing/plaf/doc-files/ComponentUI-1.png > in CVS. As the diagram shows, the real work is mostly done in other > packages, especially javax.swing.plaf.basic. Unfortunately, this is a > place where Classpath has not come very far yet. > > So, if someone would like to step in, I think it would be a good time to > start now, for example by making one of javax.swing.plaf.basic.Basic*UI > work. One could pick a single widget (like JSlider) and develop its UI > delegate (javax.plaf.basic.BasicSliderUI) independent of the rest. To > test the code, use the -Xbootclasspath/p option of the Sun JDK. > Currently, I'm merging classpath's GTK 2.0 peers into libgcj, but once I'm done that, I'll start working on a UI delegate. Concerning testing: rather than use Sun's JDK, I would like to test the classpath Swing implementation with gcj/libgcj. Perhaps, toward the end of testing a simple UI delegate, I could implement the necessary supporting classes in classpath/libgcj. Do you have an idea of how much work that would be? Tom > Best regards, > > -- Sascha > > Sascha Brawer, [EMAIL PROTECTED], http://www.dandelis.ch/people/brawer/ > > PS: Thanks again to Michael Koch for having run japitools. > > > > _______________________________________________ > Classpath mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/classpath -- Thomas Fitzsimmons <[EMAIL PROTECTED]> _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

