hi
my code is below , i have try the code but is not change my font,
listBox = new ListBox(currentShell, SWT.SINGLE | SWT.V_SCROLL,
ListBox.LB_STYLE_NO_HEADING_TEXT | ListBox.LB_MOD_SHOW_DETAIL_ICONS);
listBox.setSize(800,800);
Font initialFont = listBox.getFont();
FontData[] fontData = initialFont.getFontData();
for (int i = 0; i < fontData.length; i++) {
fontData[i].setHeight(30);
}
font23 =new Font(currentShell.getDisplay(),fontData);
//Font newFont = new Font(display, fontData);
// font23 = new Font(currentShell.getDisplay(), "sansserif", 35, SWT.ITALIC);
listBox.setFont(font23);
listBox.setDataModel(chapters);
listBox.refreshList();