Hi!

I have some problems with the UIManager.
I have created two skins named: "default" and "light".
When I start the application it will start with the default skin. And I want if an action occures to change the skin in light from java code. How can I do that? I read the javadoc for UIManager but it seems not to be enough because it doesn't want to work. May be there is something that I don't understand.
My code:


        UIManager uim=new UIManager();
        uim.init(null);
        System.out.println("1."+uim.getSkin());
        uim.setSkin("light");
        System.out.println("2."+uim.getSkin());
        uim.refresh();
        System.out.println("3."+uim.getSkin());

The code is included in the doBuildTemplate method of a screen.

How can I associate a skin with a user?

Please answer me exactly, if you can. Maybe some examples can be the best solution. Yhanks a lot!

       Regards,
            Levi

P.S. Changing the skin from vm works fine...


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to