Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #387

Re: Cross-platform develo

From "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this>
Subject Re: Cross-platform develo
Message-ID <aI2dnVskkrpDkB3YnZ2dnUVZ8surnZ2d@bt.com> (permalink)
Newsgroups comp.lang.java.gui
References <4580061d$0$2655$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
Date 2011-04-27 15:27 +0000
Organization TDS.net

Show all headers | View raw


  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

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Cross-platform developmen "qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: Cross-platform develo "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: Cross-platform develo "Thomas Fritsch" <thomas.fritsch@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000

csiph-web