Welcome!

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

Reply
New Developer
Posts: 1
Registered: ‎07-04-2009
My Device: Not Specified

BlackBerry Java Deveopment Env 4.7-US Doc Typo

Hey, just wanted to inform you of an error in this doc, on page 9:

 

XYPoint bottomRight = new XYPoint(50, 50);
XYRect rectangle = new XYRect(topLeft, bottomRight);

XYPoint topLeft = new XYPoint(10, 10);

 

should be changed to:

 

XYPoint bottomRight = new XYPoint(50, 50);

XYPoint topLeft = new XYPoint(10, 10);
XYRect rectangle = new XYRect(topLeft, bottomRight); 

 

Since topLeft cannot be referenced before it is created :smileyhappy:

 

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

Re: BlackBerry Java Deveopment Env 4.7-US Doc Typo

Submit it to the Developer Issue Tracker:

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&thread.id=45295

 

They have a project for documentation issues.

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