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
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!!

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

I suggest you read the following manual: 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.
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

3com 3102 voip phone
3com 3102 voip phone picturePOLYCOM SOUND POINT IP 550 Conference-Enabled VOIP Handset
POLYCOM SOUND POINT IP 550 Conference-Enabled VOIP Handset pictureAllworx 6x VOIP Phone Server
Allworx 6x VOIP Phone Server picture(34) Allworx 9212 VOIP Phones
(34) Allworx 9212 VOIP Phones picturePOLYCOM SOUNDPOINT IP 430 SIP CORDED VoIP PHONE (2201-11402-001) IN BOX

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