I created LWUIT TextArea and I added paragraphs of text to my TextArea , now I want to reduce the font size of TextArea , I used the following code:
TextArea big = new TextArea(detailNews.getDescription()); Font createSystemFont = Font.createSystemFont(Font.FACE_SYSTEM, Font.STYLE_ITALIC, Font.SIZE_SMALL); big.getStyle().setFont(createSystemFont); big.setEditable(false); form2.addComponent(big); form2.show();
But why can't I reduce the font of my text?
source share