How to implement a loading bar with J2me
Do you need a simple, effective j2me loading bar for your long-running operations? And would you like to avoid using (horrible) forms and gauges? Here’s a simple component you can freely use, modify or even ignore

You can see a live preview on the emulator. To use it, you’ll simply instantiate and start it, like this:
LoadingBar bar = new LoadingBar(100, 40, 5, 10, 0xff0000); bar.start();
For an explanation of source code you can go to my Forum Nokia Article: J2ME Canvas Loading Bar. If you simply want rude code, here it is: LoadingBar.java, and here is a sample Canvas using it: LoadingBarCanvas.java.
Tags: j2me, loading bar, progress bar, source code
English site
Italian site















May 14th, 2008 at 6:14 am
sorry before…
i am interesting with this aplication…
but i can understand how to implement this aplication
can i get tutorial to using it
thx beofre
May 14th, 2008 at 11:13 am
Hi Cibenxs,
you’re right, its use was not clear from my article, so I’ve posted a sample Canvas that makes use of it. You can find its source code at the end of the post itself.
Pit
May 17th, 2008 at 9:56 am
thx for ur attention
but can i get this canvas source code this application now, please?
because i want to using this application to combine with my application to solve my final project.
can i?
thx before
May 17th, 2008 at 9:58 am
oh… i1am sory.i`m not look loadingcanvasbas. java before. thanks you very much
May 17th, 2008 at 10:02 am
You’re welcome