Package de.esoco.j2me.ui

Examples of de.esoco.j2me.ui.ProgressView


   */
  protected Displayable getStartScreen()
  {
    ResourceBundle.loadBundle("microsafe");

    aStartProgressView = new ProgressView(getString("MtProgress"),
                        ResourceBundle.getCurrent()
                        .getImage("ImAbout"), null, true);

    aStartProgressView.setProgressInfoText(getString("RsStarting"));

View Full Code Here


  /***************************************
   * Tests the progress view feature.
   */
  protected void testProgressView()
  {
    final ProgressView aProgress = new ProgressView("Progress", null,
                            "Testing", true);

    new Thread()
      {
        public void run()
        {
          aProgress.init(500, "Dummy steps...");

          int nCount = aProgress.getMaximum();

          while (nCount-- > 0)
          {
            try
            {
              sleep(10);
            }
            catch (InterruptedException e)
            {
            }
            aProgress.advance(1);
          }
        }
      }.start();
  }
View Full Code Here

TOP

Related Classes of de.esoco.j2me.ui.ProgressView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.