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
Contributor
Posts: 35
Registered: ‎03-04-2010
My Device: 9381
My Carrier: Vodafone
Accepted Solution

Creating and passing reference for a object in j2me

Hi, I am new to Blackberry JDE, I want to know how to create,pass and receive refernce for a object in Blackberry JDE.

Developer
Posts: 562
Registered: ‎09-30-2009
My Device: Not Specified

Re: Creating and passing reference for a object in j2me

Exactly like how it works in j2se and Java everywhere else. Every mention of objects in Java is by reference, ie., saying "ButtonField f = new ButtonField()", f is a reference to a ButtonField object.

 

It's all standard Java.