Sunday, September 7, 2014

call method in htm test on label




Hi,



I want to set an html text on al label, but also call a method.




I tried:






Java Code:






scoreMens.setText("<html>joejoe<BR>jaja<BR</html>" + naamSpeler.laatKaartenZien());




but the naamSpeler.laatKaartenZien(), which returns a string, doesn't show on the label. Is there a way to call a method and use a html text on a label?



thanks,



Maarten.

ps



the name of the thread should be "call method in html text on label"







No comments:

Post a Comment