Hi Gjivo,

The LookAndFeel cannot be set on the server side, it has to be set in the
ULC client.

ULC clients comprise various launchers (Applet, JNLP, Standalone etc.
depending on the client side deployment).

For applets, standalone and jnlp applications ULC provides DefaultLaunchers.

You have the possibility to extend these DefaultLaunchers and then setting
the LookAndFeel (and any other UIManager or UIDefaults settings) in the main
method as you would in a Swing Application.

public class MyLauncher extends DefaultJnlpLauncher{
    public static void main(String[] args) {
        UIManager.setLookAndFeel(new MyLookAndFeel());
        DefaultJnlpLauncher.main(args);
    }
}

If you want to start the UIEngine as an Applet or as a standalone
application, just replace the DefaultJnlpLauncher with the
DefaultAppletLauncher or DefaultStandaloneLauncher respectivly.

After this you must change the .jsp or .jnlp file to specify the correct
launcher.

Please see sources of the sample applications from ULC release.

I hope this helps.

Thanks and regards,

Janak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gjivo Tikvica
Sent: Wednesday, November 22, 2006 3:24 PM
To: [EMAIL PROTECTED]
Subject: [ULC-developer] look and feel


I need more detailed explanation how to change look and feel, I followed a
text from http://www.canoo.com/ulc/developerzone/faq.html but I did not
success yet.

thanks

Gjivo Tikvica
ICQ : 101-357-587



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.12/545 - Release Date: 21.11.2006
22:36

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to