How to draw gradients with J2ME
Gradients are a nice graphic element to be used within your game or application. But, wouldn’t it be great if you could use all the gradients you want, without using images?
And here is the Saturday Tutorial
The gradients shown in the screenshot above are generated by the following straightforward method:
Gradient.gradientBox(Graphics g, int color1, int color2, int left, int top, int width, int height, int orientation) |
For the full source code you can see the J2me Gradient tutorial on Forum Nokia Wiki
AJAX coding school » Blog Archive » AJAX Code [2008-04-12 10:23:53] 11:30 am on April 12, 2008 Permalink
[...] How to draw gradients with J2ME By pit Gradient.gradientBox(Graphics g, int color1, int color2, int left, int top, int width, int height, int orientation). For the full source code you can see the J2me Gradient tutorial on Forum Nokia Wiki. Jappit on Ajax, Mobile, and so on. – http://www.jappit.com/blog [...]