how to print hex no?

How do u print out the hex nos it gives the int value all the time!!!
[90 byte] By [decaynan] at [2007-9-26 3:08:34]
# 1
System.out.println(Integer.toHexString(i));- or -System.out.println(Integer.toString(i, 16));(Signed or unsigned?)
jsalonen at 2007-6-29 11:13:31 > top of Java-index,Archived Forums,Java Programming...