Syntax for setting applet skin

User ddf03b522f

13-01-2008 12:23:38

Hi





what is the syntax to set the applet skin in marvin sketch and marvin view to an alternative look and feel?





I am using the following code but the applet still defaults to the metal look each time it loads:





msketch_name = "MSketch";


msketch_begin("marvin", 500, 500);


msketch_param("skin", "javax.swing.plaf.motif.motifLookAndFeel");


msketch_end();





i require it to load by default to the motif look and feel.





please advise.

ChemAxon 7c2d26e5cf

14-01-2008 14:09:36

We will check it.

ChemAxon 7c2d26e5cf

14-01-2008 15:22:04

You have mistyped the name of the look and feel.


The class name of the Motif L&F is com.sun.java.swing.plaf.motif.MotifLookAndFeel.