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

LOT OF 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310
$19.99
LOT OF 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310 pictureEnlight EN-470MP 470W Dual-Fan Control PC/Xeon Server Power Supply (D1)
$45.0
Enlight EN-470MP 470W Dual-Fan Control PC/Xeon Server Power Supply         (D1) pictureSet of 2 HP 307103-001 2.8GHz 2800DP XEON CPU with Heat Sink
$24.0
Set of 2 HP  307103-001 2.8GHz 2800DP XEON CPU with Heat Sink pictureSupermicro SBI-7226T-T2 Twin Intel Xeon 5500 Blade Module SBI7226TT2
$1068.31
Supermicro SBI-7226T-T2 Twin Intel Xeon 5500 Blade Module SBI7226TT2 pictureDell Poweredge R710 2 X 6 CORE 2.66GHZ X5650 64GB MEMORY 2 X 146GB 10K SERVER
$275.0
Dell Poweredge R710 2 X 6 CORE 2.66GHZ X5650 64GB MEMORY 2 X 146GB 10K SERVER picture






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