title: How do I apply a style programmatically?
body: <p>I have a styles called Red and Green and I have an if statment to find out which to apply, but I don't know the code to actually apply a style from the java.</p>