Groups > Palm OS > Palm Java forum > Like to know how to set a SMALL size font for s J2ME StringItem.Appreciate any help




Like to know how to set a SMALL size font for s J2ME
StringItem.Appreciate any help

Like to know how to set a SMALL size font for s J2ME StringItem.Appreciate any help
Tue, 1 Jan 2008 12:20:17 -000
Like to know how to set a SMALL size font for s J2ME StringItem.Appreciate any
help

someStringItem = new StringItem("","String Item");

Font font = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_ITALIC |
Font.STYLE_UNDERLINED,Font.SIZE_SMALL );

someStringItem .setFont(font);

The output is underlined and medium size not small as expected
Post Reply
about | contact