BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-19-2010, 06:25 PM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Resource Question, or how high is up?

Please Login to Remove!

I need to implement a grid of 14 cols by 4 rows. Each cell will contain a one or two characters. I also need some eye candy - colored cells, borders of different styles and colors, different fonts and text color, etc. The characters in the cells change over time based on user input, but this part of the ui does not have any input capability - it is purely for display. No selection of cells is needed.

At first I thought I would use a TableLayoutManager and a bunch of LabelFields. But then I got to thinking....56 cells => 56 LabelField objects have to be instantiated. I wonder if I just put in a LayoutManager of some kind and override paint to create all the boarders and text, would I end up with a better design from a CLDC standpoint? Fewer objects, but a more complicated paint method, so perhaps slower response for the user? Or, create a bitmap image of the grid and colors, and just paint the text, and those backgrounds that change color.

Without coding and testing all three approaches, I am curious if the more experienced folks would have a perspective on these design trade offs.

Thanks!

Mark
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

NEW NANMAC RESISTANCE TEMPERATURE DETECTOR RTD 56368-1-105 THERMOCOUPLE PROBE
$39.99
NEW NANMAC RESISTANCE TEMPERATURE DETECTOR RTD 56368-1-105 THERMOCOUPLE PROBE pictureNEW THERMOCOUPLE VACUUM FEEDTHROUGH
$22.99
NEW THERMOCOUPLE VACUUM FEEDTHROUGH pictureNEW DUNIWAY THERMOCOUPLE VACUUM GAUGE 531S
$74.99
NEW DUNIWAY THERMOCOUPLE VACUUM GAUGE 531S pictureDisplay Digital PID Temperature Controller+6Ft 25A Relay+K E J type thermocouple
$10.99
Display Digital PID Temperature Controller+6Ft 25A Relay+K E J type thermocouple pictureROBERTSHAW 24 inch Thermocouple A 1970 024 - NEW -
$9.95
ROBERTSHAW  24 inch Thermocouple A 1970 024 - NEW -  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.