Java Print Hex Formato

System.out.println(String.format("0x%08X", 1));
Arrogant Ant