hello everyone

i am new in java and tried my best to make a software for mobile version of jmemorize using j2me which suppoorts only.jml file.
now i am having problem with deck calculation. how this software calculate in which deck which card is from only reading .jml file?can please anyone help me on that.

            Thank You
Mohammad Al- Mubin Sultan