Skip to content

Instantly share code, notes, and snippets.

@grkvlt
Created October 13, 2017 15:37
Show Gist options
  • Save grkvlt/2dc03620adc1cdf0f38f67b1732dbf46 to your computer and use it in GitHub Desktop.
Save grkvlt/2dc03620adc1cdf0f38f67b1732dbf46 to your computer and use it in GitHub Desktop.
Exploring Iterated Function Systems
setEditable(false);
setContentType(HTML_MIME_TYPE);
setText(INITIAL_CONTENT_HTML);
HTMLEditorKit kit = (HTMLEditorKit) getEditorKitForContentType(HTML_MIME_TYPE);
StyleSheet css = kit.getStyleSheet();
for (String rule : Iterables.concat(CSS_RULES, CSS_BRACKET_RULES)) {
css.addRule(rule);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment