I am new to j2me. I have got task to create unit converter tool.
User should be able to convert b/w different units for length, tempreature, volume and so on...

I create MIDlet and add form. I append 2 textfields to form and choice group to form but it can only display units for specific type for e.g. it can only display and convert units for length at one time not for temperature.

I want to show user all types (length,volume,.. ) at first screen. Then user will select one type (for e.g. length). Then next screen will be displayed in which user can type input value to convert and select type of unit from which to convert( for e.g km).
Then user will select type to which convert (for e.g. cm). Result will be displayed in input box

Can any body tell how to do this ?