Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 20
Registered: ‎03-03-2010
My Device: 8110
My Carrier: vodafone

How to develop rich UI


I want to develop rich UI application in blackberry what should i use for developing?

Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to develop rich UI

Thre is no secret "rich UI" library, that I am aware of.


I think you will find that most of the folks here have developed their own set of controls by extending the rather plain RIM controls.



Posts: 178
Registered: ‎07-29-2008
My Device: Not Specified

Re: How to develop rich UI

As Winston Churchill said, I have nothing to offer but blood, toil, tears, and sweat.  Look at the examples from DevCon if you went, there are some good examples in there. 


Learn to love the following methods:


field.paint(Graphics g)

field.paintBackground(Graphics g)

field.getFocusRect(XYRect rect)

field.layout(int w,int h)

field.setExtent(int w,int h)

Manager.subpaint(Graphics g)

Manager.suplayout(int w,int h)

Manager.layoutChild(Field f, int w,int h)

Manager.paintChild(Field f, int w,int h)






Or Don't use the Manager/Field/Graphics constructs at all.

Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-, Z10 (STL100-3)-, Z30 (STA100-5)-, Passport (SQW100-1)-, PlayBook (16GB)-
My Carrier: Verizon

Re: How to develop rich UI

You can check out Implement Advanced Buttons, Fields, and Managers. It demonstrates many of the advanced UI possibilities.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.