I am retrieving a value from NSFontPanel, which changes the font family, style of text. But I want only Font Style and color separately that I have selected from NSFontPanel.
How can i set font attributes开发者_如何学JAVA of NSFontPanel, like color, bold etc ?Colors are actually not in the font panel, are they? The font can be changed with this method:
I have a update view, where I need to preselect the value stored开发者_运维技巧 in database for a Spinner.