BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-14-2009, 09:33 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2009
Model: 8300
PIN: N/A
Carrier: Rogers
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Angry Understanding how things appear on the screen

Please Login to Remove!

Hey all,

I'm new to blackberry development, but i've done lots of OOP development before.

Can someone do my a huge favor and explain to me the process on how things get drawn to the screen? I am having a hard time grasping it. Here is what I think might happen. let me know where I go wrong...

1.) First I create a new java file (class) and add it to my project. For things that will be displayed on the screen I should extend the Field class.

2.) I create the class as I would any other programmign language. I add a constructor, and any other methods I want call myself.

3.) Here is the part that I get confused with. There seem to be many methods such as paint, layout, onFocus, navigationClick, etc that can exist but i don't see where they get called.

4.) From what I think i understand, the paint method is the method that tells the object what to draw onto the screen. So if i am making a FieldList object, then i want to add all my things i want displayed in here?

5.) There is also a layout method. I am assuming this automattically gets called and somehow using this you can position the object someone on the screen?


Anyways, I'm sure you can tell i am lost. If someone could point me in the right direction (or give me the url to a good tutorial that explains all this), that would be greating appreciated!!

Thanks,
Ryan
Offline  
Old 07-14-2009, 10:53 AM   #2 (permalink)
New Member
 
Join Date: May 2009
Model: 8330
PIN: N/A
Carrier: Rogers
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I suggest you read the following manual:

na.blackberry.com/eng/deliverables/614/BlackBerry_Application_Developer_Guide_Volume_1.pd f

The "Creating user interfaces" section should be helpful.

It's the 4.1 version but I suppose you'll find the same info in more recent versions.
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

Black Server 3 Pocket Waitress Waist Apron Mum Color Name Added FREE Lady Pizazz
$12.0
Black Server 3 Pocket Waitress Waist Apron Mum Color Name Added FREE Lady Pizazz pictureRadiant Kickback Traffic Cop Electronic Loyalty Server KBT C100
$18.99
Radiant Kickback Traffic Cop Electronic Loyalty Server KBT C100 pictureLenox Bellina 6 Cup Coffee Server with Lid
$259.95
Lenox Bellina 6 Cup Coffee Server with Lid picture Black Server Waitress Waist 3 Pocket Apron Colorful Owl Name FREE Lady Pizazz
$12.0
  Black Server Waitress Waist 3 Pocket Apron Colorful Owl  Name FREE Lady Pizazz pictureBlack Server Waist Half Apron Personalized Name Red Heart Waitress Lady Pizazz
$12.0
Black Server Waist Half Apron Personalized Name  Red Heart Waitress Lady Pizazz picture






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