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: 17
Registered: ‎05-01-2009
My Device: Not Specified

J2ME Menus on the Curve

On the Curve, I notice that the command menus on a J2ME canvas have a thin border around them about 2-3 pixels wide that flash on and off as the you scroll up and down the menu.  Anyone know what that's for?  The behavior is not in the J2ME specifications or the RIM documentation.

 

Here's how to reproduce it.

 

1. Open a canvas in a J2ME application that has four or five commands defined in it.

2. Press the menu key.  The menu opens in the lower left corner.

3. Scroll up and down. The border around the menu flashes.

 

Thanks.

 

 

Richard Schilling

Mobile Operating Systems Engineer

Root Wireless, Inc.

Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, 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: J2ME Menus on the Curve

That is most likely to show what command is currently selected.

 

The UI on BlackBerry is made entirly of the RIM UI classes, J2ME UI classes are wrappers around RIM's UI. This way both RIM and J2ME applications have a similar look and feel. It also means that anything that affects RIM's UI classes will most likely (unless there is code to prevent it in the wrappers) have the same styles (highlights, themes, etc.).

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