my dog learned polymorphism*
The moose likes Java Micro Edition and the fly likes Problem when initializing Label text or button text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Problem when initializing Label text or button text " Watch "Problem when initializing Label text or button text " New topic
Author

Problem when initializing Label text or button text

kais kaisb
Greenhorn

Joined: Jul 20, 2013
Posts: 1
Hello,

I'm creating an application that generate two random numbers and a random operator (+ - / *) and 4 suggestions. The suggestions are in 4 buttons (3 random numbers and the correct answer)
My problem is :
when the generated number have two characters the label text will be two points as you can see in attached pictures





here is a part of my code i start with create labels


then i set the label text to random numbers and operator



please give me hint im new in Lwuit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem when initializing Label text or button text
 
Similar Threads
trouble with loops and invoking a method
UrlRewriting+servlets -Error
loops and boolean operators
JOptionPane Input Dialog is blank
Class relations mess - OOP