EditLive! 9 Documentation : Setting CSS in the Swing SDK

EditLive! for Java Swing allows developers to specify the CSS for rendering the HTML content created within the editor. For a complete list of the methods available for specifying CSS for use with EditLive! for Java Swing, see the Using CSS in the Swing SDK article in the Developer Guide section of this SDK.

This tutorial provides developers with the knowledge required to load CSS into EditLive! for Java Swing under the following circumstances:

  • When CSS is stored in an external .css file, and
  • When CSS is dynamically generated into the HTML page from a server-side script.

Tutorial

The Setting CSS in the Swing SDK Tutorial provides a step-by-step walk-through on how to load CSS into EditLive! from either an external CSS file or as a defined string of CSS.

Code

The complete code view for all the associated files in the Setting CSS in the Swing SDK Tutorial is available here.