I want that when the length of the text of a TextField is larger than the TextField s preferredWidth then the TextField should ticker. How to achieve that ?
Thank you very much
LWUIT doesn't support tickering text fields since we aren't aware of any popular platform that does that (we only ticker labels).
You can implement text field tickering in the same way we implemented label tickering by overriding paint and drawing the text field yourself while shifting the text drawing position based on animate state. You can look at the source code for Label.java.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.