Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Ian Wilson" Subject: Re: Cross-platform develo Message-ID: X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <4580061d$0$2655$5a62ac22@per-qv1-newsreader-01.iinet.net.au> References: <4580061d$0$2655$5a62ac22@per-qv1-newsreader-01.iinet.net.au> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 26 Date: Wed, 27 Apr 2011 15:27:15 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918035 96.60.20.240 (Wed, 27 Apr 2011 10:27:15 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:27:15 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:387 To: comp.lang.java.gui qu0ll wrote: > I am trying to develop an application to run on both Linux and Windows so I > need to use both the GTK look and feel and the Windows look and feel. I assume that you want your app to automatically use the GTK LAF on Linux and use the Windows LAF on Windows > However, it seems that the JRE's rt.jar does not contain the GTK classes on > the Windows platform whereas the Linux platform does include the Windows > classes. The result is that I cannot fully build the system on the Windows > platform which is my chief development environment. > > While it makes sense not to include unsupported classes in the runtime, why > are the Windows classes included on Linux and how do I build my system on > Windows? I am using Mustang FCS. > Doesn't UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); do what you want? --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24