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

1966 Commodore Investment Trailer Mobile Home 48ftx12ft, Madison Heights VA
$700.0
1966 Commodore Investment Trailer Mobile Home 48ftx12ft, Madison Heights VA pictureVintage Prewar c1940 MARX COMMODORE VANDERBILT TRAIN Engine TIN TOY O Scale #597
$19.0
Vintage Prewar c1940 MARX COMMODORE VANDERBILT TRAIN Engine TIN TOY O Scale #597 pictureSynertek 6502 CPU 40 PIN DIP SY6502 CPU for Commodore Apple Atari Acorn & Others
$7.99
Synertek 6502 CPU 40 PIN DIP SY6502 CPU for Commodore Apple Atari Acorn & Others pictureWINDSOR Commodore CMD Carpet Extractor Cleaning Machine 0541 Hours WORKING
$199.99
WINDSOR Commodore CMD Carpet Extractor Cleaning Machine 0541 Hours WORKING pictureITT Memory 8341 - 4116 3N Set of (8) for Commodore PET
$15.5
ITT Memory  8341  - 4116  3N  Set of (8) for Commodore PET picture






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