[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java issue with Shredder Chess



Matthias Bodenbinder <matthias@bodenbinder.de> writes:

> Am 04.11.2013 19:24, schrieb Matthias Bodenbinder:
>> Am 04.11.2013 18:54, schrieb Felix Natter:
>>> i.e. add the following to the java command line:
>>> -Dswing.defaultlaf=com.sun.java.swing.plaf.metal.MetalLookAndFeel
>> 
>> This gives an error:
>> 
>> 15# java -Dswing.defaultlaf=com.sun.java.swing.plaf.metal.MetalLookAndFeel -jar LinShredder.jar
>> Exception in thread "Thread-0" java.lang.Error: Cannot load
>> com.sun.java.swing.plaf.metal.MetalLookAndFeel

Oops, wrong class path.

> In the meantime I tried:
>  -Dswing.metalTheme=steel 
> and
>  -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

This is the default on linux (when GTK+2.2 is available), so I would
expect no change (unless the App configures something).

Can you try:
  -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
or
  -Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel
?

Best Regards,
-- 
Felix Natter


Reply to: