superscript « JCheckBox « Java Swing Q&A





1. How do I write superscript word for checkbox text in java?    stackoverflow.com

I made few checkboxes using swing in Java. I want to write a superscript text for the checkboxes but I'm not sure how. The code currently looks like this.

JCheckBox hCheckBox = new JCheckBox("[M ...