Question: how to use jface in eclipse?
Answer: Select the project that will be used to develop SWT and JFace programs (for example, "MyProject) and select Project / Properties / Java Build Path. Select the Projects tab. Press Add. ...  Press OK to return to the Projects tab of the Java Build Path dialog.