This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes CustomItem : Label dont Expand 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 "CustomItem : Label dont Expand" Watch "CustomItem : Label dont Expand" New topic

CustomItem : Label dont Expand

Vinicius Souza
Ranch Hand

Joined: May 18, 2011
Posts: 45

Hello ppls!
Im creating a CustomItem called Label. I need that this item respect the CustomItem.LAYOUT_EXPAND style but I dont know how to handle correctly this notification. Below my code for Label:

Any clue about why its not working ? Why the Label dont respect its width change?
Thanks in advance.

Java is the best (I love C too) heehhh
Don't get me started about those stupid light bulbs.
subject: CustomItem : Label dont Expand
Similar Threads
Creation and Event linkage (JavaME CLDC 1.1 MIDP 2.0)
How to know the number of items in your Seralization/Deserialization stream?
CustomItem not working on Nokia XpressMusic smartphone
Creating Arrow Icon Help
Text in java.awt.Rectangle