selectedLnf property not getting to clients

I am trying to get the Windows Classic Look and Feel working in newly download clients from our Servoy 5.1.4 environment. It should be possible using the selectedLnf property but the clients don’t use it. They still use the default one. Neither setting one of these options in the selectedLnf property works:

  • Windows Classic (it’s called this way in the preferences pulldown)
  • com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel (the way it gets in the local cache servoy.properties after selecting it in the preferences)
  • WindowsClassicLookAndFeel

lnf.theme should be empty as far as i can see, but tried the above values also in this one.

Am I doing something wrong or is this not correctly picked up by the client?

as far as i can quickly see if you set on the server (in the servers servoy.properties file)

selectedlnf=XXXX

and XXXX is the classname of the classic lnf it should work fine.

In the past the look and feel of a solution was set to “default”, but now I would like to have the look and feel “Metal”.
To get that to the Mac Clients I have set the servoy-admin property “selectedlnf:” to “Metal” and “pushLnfToMac:” to “true”. In the servoy.properties file on the server I also can detect “selectedlnf=Metal” and “pushLnfToMac=true”. But the Mac Clients are still in the default look and feel!?
What’s wrong?

It should work, but see also this thread for Patrick Talbot’s LAF pusher plugin: http://www.servoy.com/forum/viewtopic.php?t=14431

Thank you Sem!

With Patrick’s laf.jar plugin it seems to be working!