How do I get a Font object representing the font set as the "Text Font" in the Eclipse Preferences -> General -> Appearance -> Colors and Fonts? I'm implementing a table-view where one of the columns is supposed to contained fixed-width text.
Asked
Active
Viewed 205 times
1 Answers
2
This turned out to be easier than expected. The font is obtained like this:
font = JFaceResources.getTextFont();
There are similar methods for dialog and banner fonts.

JesperE
- 63,317
- 21
- 138
- 197