Java Code Examples for org.eclipse.swt.widgets.Label.getFont()

The following are Jave code examples for showing how to use getFont() of the org.eclipse.swt.widgets.Label class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: convertigo-eclipse   File: JavelinAttributeEditor.java   Source Code and License Vote up 5 votes
public JavelinAttributeEditor(Composite parent) {
    super(parent);

    dialogTitle = "Attributes";
    dialogCompositeClass = JavelinAttributeEditorComposite.class;
    
	Label label = getDefaultLabel();
    defaultFont = label.getFont();
    defaultFontHeight = defaultFont.getFontData()[0].getHeight();
}