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

SMPTE Output Studio 16 Extras The Complete SMPTE Generator For Your Amiga
$14.99
SMPTE Output Studio 16 Extras The Complete SMPTE Generator For Your Amiga picture23 WAY "D" SHELL HOOD DB23 D23 DB23F DB23M FOR COMMODORE AMIGA CONNECTORS - RARE
$2.57
23 WAY Toshiba TMP68HC000P-16 16mhz 68000 CPU Chip, Amiga Atari Apple Mac
$22.0
Toshiba TMP68HC000P-16 16mhz 68000 CPU Chip, Amiga Atari Apple Mac pictureAMIGA AMIGA A107-335D RQAUS1
$36.1
AMIGA AMIGA A107-335D RQAUS1 pictureCommodore AMIGA CSG 8520 Chip IC 500/A500+/A2000 CDTV - NEW
$12.99
Commodore AMIGA CSG 8520 Chip IC  500/A500+/A2000 CDTV - NEW picture






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