I have a JLabel which show some Values like Max, Min and Avg values
i have added the JLabel text in the form of HTML which shows as below
Max : 10.4
Avg : 123.34
So i have to format this string like
not able to format in this editor
This we can do using System.out.format("%10.2f",value);
But how can take that formated string to JLabel text. is any other way to achive this?