How to set the ticker speed of radio button in code name one?
-
20-06-2021 - |
Question
Ok, the title is pretty direct ..how do i do it?
I saw something in DefaultLookAndFeel class...
so I tried DefaultLookAndFeel abc = new DefaultLookandFeel(UImanager.getinstance());
abc.settickerspeed(1000);
But it did not work. the ticker speed of radio button din change.
what should be done in this case?
Solution
You need to use
DefaultLookAndFeel d = ((DefaultLookAndFeel)UIManager.getInstamce().getLookAndFeel());
d.settickerspeed(1000);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow