>>>>> "Matthew" == Matthew McKeon <[EMAIL PROTECTED]> writes:
Matthew> I don't suppose anyone knows of / can recommend a hack to
Matthew> get around the windows PLAF block in v1.2 of the Linux
Matthew> JDK? Is such a thing possible? Is the block integral to
Matthew> the VM or is it located somewhere in the runtime libs?
Matthew> I'm just looking to hack it to the point where I can get
Matthew> it up and running on my dev box, since my target client
Matthew> platform is Windows anyway.
There are two ways, either you set the "os.name" variable on the
command line (using java -Dos.name=Win2001 or something), or you
subclass the Windows look and feel class and override the
isSupportedLookAndFeel method (don't know whether that's the correct
name, but you will find it).
Matthew> Or is doing so illegal? :)
Could be. The question is: Why on earth do you prefer the Windows PLAF
over the Java/Metal PLAF?
Ulli
--
ETH Zentrum, IFW B43, CH-8092 Zürich
Phone +41-1-63 27393 // FAX +41-1-63 21172
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Order Cinderella (http://www.cinderella.de) now:
http://www.amazon.com/exec/obidos/ASIN/3540147195/theinteractivege
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]