Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 18:09, 3 September 2007.

Gauge

From Forum Nokia Wiki

The following code creates a Form with a Gauge.

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
 
public class Gauge_ex extends MIDlet 
{
     Display display=Display.getDisplay(this);
    
    public void startApp() 
    {
       Form form = new Form("Gauge example");
       //Gauge(label,interaction,maxValue,InitialValue)
       Gauge gauge = new Gauge("Gauge example", false, 20, 4);
       form.append(gauge);
       display.setCurrent(form);       
    }
}

The following screen shot is an outcome.

Image:gauge.png

Related Discussions
Thread Thread Starter Forum Replies Last Post
J2ME streaming yashodhan Mobile Java General 1 2004-06-18 22:12
back and gauge problem ingsoft Mobile Java Tools & SDKs 0 2008-03-18 17:41
Custom Progress Bar in J2ME abbu Mobile Java General 1 2008-01-14 22:05
Bug in Commands of an Alert matrix1982 Mobile Java General 5 2007-05-19 01:39
Component Layout Attributes Ignored fimjox Mobile Java General 0 2004-11-08 18:01
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZjavaQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX