Hi,
I am programming a J2me application. I have the menu with an option of Help.
For this screen I need to present a text that includes some bold words, italics etc...
Which is the best option?
My first solution:
StringItem messageItem = new StringItem("","");
messageItem.setText("lorem ipsum etc etc...");
messageItem.setFont(Font.getFont(Font.FACE_SYSTEM,Font.STYLE_BOLD,Font.SIZE_MEDIUM));
append(messageItem);
And then add another new StringItem with another font style:
StringItem messageItem2 = new StringItem("","");
...
append(messageItem2);
Is there a better solution?