How can I show a mathemetical series in a JLabel?
Right now I do it like this by using a String with HTML tags.
String s = "<html>Σ<sup>N</sup><sub>i = 0</sub> x <sub>i</sub></html>";
Result:
Is there a nicer way to do this? Because the output is very ugly. Usually N
should be above the sigma and i = 0
below.