To Infinity and beyond!

Is there a way to get the infinity symbol into a piece of text for use in a label?

I’d like my slider value to read -inf (but with the sideways 8) when it’s all the way down.

The unicode charactercode for infinity is 0x221E, you can write in with “\u221E”, assuming the used font is capable of displaying unicode.

So just overwrite ‘String getTextFromValue(double value)’ in your Slider subclass and return “-\u221E” for the minimal value.

Spot on! Thanks for the tip