Sample code

Java MIDP 1, CLDC 1