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

Universal Lighting Magnetic Ballast 446LSLHTCP Ballast 120V, PC#46958
$19.99
Universal Lighting Magnetic Ballast 446LSLHTCP Ballast 120V, PC#46958 pictureADVANCE BALLAST MODEL ICN2S40N 120/277 VOLT FOR T- 12 LAMPS
$9.99
ADVANCE BALLAST MODEL ICN2S40N 120/277 VOLT  FOR  T- 12 LAMPS pictureADVANCE MARK III ENERGY SAVER 2 LAMP BALLAST V-2S40-1-TP 277V NEW
$19.95
ADVANCE MARK III ENERGY SAVER 2 LAMP BALLAST V-2S40-1-TP 277V NEW pictureHI-LIGHT HOWARD INDUSTRIES EP2/32IS-277 277V BALLAST NEW
$16.95
HI-LIGHT HOWARD INDUSTRIES EP2/32IS-277 277V BALLAST NEW pictureBALLAST - BY GENERAL ELECTRIC ( 2 included in sale )
$14.75
BALLAST - BY GENERAL ELECTRIC   (  2 included in sale ) picture






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