i have one JCheckBox that should display two words as text but in two lines. is this possible and if yes how?
03-14-2011, 02:41 PM
JosAH
Quote:
Originally Posted by j2me64
i have one JCheckBox that should display two words as text but in two lines. is this possible and if yes how?
Use html code:
Code:
"<html>line one<br>line two</html>"
kind regards,
Jos
03-14-2011, 03:18 PM
j2me64
Quote:
Originally Posted by JosAH
Use html code:
Code:
"<html>line one<br>line two</html>"
kind regards,
Jos
i had already tried with html code but it was ignored because i added a non-html string to it. but now i got a solution ("<html>" + myString + "</html>"), where myString contains the <br>. thanks.