Have you viewed the API ? You still have not understood what I've said - once again:
What class is the method parseInt(char) apart of? Once you find that out, you should be able to write the correct code.
To which you replied,
there isnt a parseInt(char) method, if there was I would just use that
And yet you appear to already know this - YET you are trying to use it(see the irony there?). Where is parseInt a method of - what class does it belong to? - Answer this with your next post in this thread.