On Fri, Mar 26, 2004 at 09:52:37PM +0100, Dalibor Topic wrote: > I've wanted to play with SwingWT as a drop-in replacement, but couldn't > figure out how to use the MasterCL, mentioned in the SwingWT faq. Do you > have some docs on that? Given that I want to use SwingWT on a free > runtime (i.e. Kaffe [1]), I'd be interested in how to set things up so > that SwingWT comes out as javax.swing. The MasterCL thing is only really necessary for Sun's VM (since it objects to use of java.* and makes you jump through hoops for javax.*). For Kaffe, you should be able to just grep | sed s/swingwt\.awt/java.awt over the SwingWT sources (much more reliable than mastercl and without any overhead translating classloader calls). You might have to remove the AWT/Swing stuff from classpath - unless Kaffe supports -bootclasspath (which I'm too lazy to look up right now). The thisiscool MingW distribution have done this (after removing the GNU classpath AWT/Swing sources) so you can build native Win32 Swing/AWT apps. See http://www.thisiscool.com/gcc_mingw.htm Cheers (and keep up the great work with Kaffe!), Rob -- ===================================================== Robin Rawson-Tetley (robin@rawsontetley.ath.cx) I prefer encrypted email. Download my public key from http://rawsontetley.ath.cx/rrtpk.asc
Attachment:
signature.asc
Description: Digital signature