This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Choice Group fit policy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Choice Group fit policy" Watch "Choice Group fit policy" New topic
Author

Choice Group fit policy

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hello,

I am using the following code:



The first choice appears like this on my mobile:

aaaaaaaaaaaaa...

So that the whole content does not appear! Why is that? I have used the fit policy to make it wrap but it's not! What must I do?

Thanks,

Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
I ran your code through the Java ME SDK 3.0, and it wrapped in the emulator but it took three lines.

The Implementation may limit the maximum number of lines that it will actually present.

Perhaps your phone scrolls the text in ChoiceGroup horizontally when it is selected instead of wrapping it? It may be hard to tell with the characters all being "a."
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Choice Group fit policy
 
It's not a secret anymore!