I am having trouble trying to figure out how to code for decimal to hexidecimal and visa versa. I need it for an applet that I am building. Also I have a question on three error messages I keep recieveing on another program I am writing, the errror messages pertain to the variables not being declared when they are and also that my IOException is not stated or defined which it is. I am confused!!
09-29-2003, 05:53 PM
Firstly, if you have two different problems, start two different threads.
Secondly, if Java says that you haven't declared a variable, then you haven't declared a variable. If Java says that you haven't declared that a method throws an IOException, then you haven't declared that a method throws an IOException. Post your code (on a new thread) and we'll show you what you're overlooking.
With regards to hexidecimal conversion, it's all built into Java, in (amongst others) the Integer class: