The purpose of the JLabel is to show who a message is to, like in a mail client e.g.
To: John, Mary, Peter, Frank, Tom, Harry
I will have the names in a vector so can build up a string from that and then set the label's text to this string. However it has the potential to get quite long. I was think it might be nice to have something like this:
To: John, Mary, Peter, Frank, Tom, Harry, ...
Then when you click on the '...', it will expand more or just show a tool tip if you mouse over the ... Yes this idea is stolen from Thunderbird! I am open to other ideas, don't have to use a JLabel.
Has anyone got any suggestions?
Thanks.