Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Label Text Font

Hi
 
I am very new to SWT programming and trying to develop a small application for PocketPC. For one of my screens I want to change the Font face and size of a label to display it as big. Currently all the text including the headings are having the same font size. How can we fix this?
The following is my label code.

Label l1 = new Label(shell, SWT.NONE);

l1.setText("Test Font");

l1.setBackground(new Color(display,150,250,250));

Please suggest a solution. 

Thanks and Regards

Cijo


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

Back to the top