Does Java String supports superscript in a String? If yes then how can I use it, I have searched the web and also the API but not able to figure out how I can use it for my
You can use html tags in java (User Interface only): Suppose you want to display 210, write this code in your JLabel :
JLabel lab = JLabel("210");