how to show superscript in ,java application?

how to show superscript in ,java application? in command prompt and using JOptionPane.showMessageDialog()
[112 byte] By [dada1234a] at [2007-10-3 3:21:25]
# 1
JOptionPane.showMessageDialog(null,"<html>4<sup>2</sup> = 16</html>");
Michael_Dunna at 2007-7-14 21:13:41 > top of Java-index,Java Essentials,Java Programming...