wood burning stoves 2.0*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Choice Group fit policy