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: 62
Registered: ‎07-15-2008
My Device: Not Specified

GaugeField showing an indefinite time

Is it possible to display the gaugeField having an indefinite progress like the Gauge class in MIDP?




Gauge gauge = new Gauge( null, false, Gauge.INDEFINITE, Gauge.CONTINUOUS_RUNNING );


This will display an hour glass when used in a MIDlet on a blackberry device.

BlackBerry Development Advisor
Posts: 15,871
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: GaugeField showing an indefinite time

You can create a thread that modifies the GaugeField's value (progress).  This can allow you to keep filling the progress bar.


The thread could loop, sleeping an then updating the value.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.