Support for providing html views for the swing components.
This translates a simple html string to a javax.swing.text.View
implementation that can render the html and provide the necessary
layout semantics.
isHTMLString(String s)
Check the given string to see if it should trigger the
html rendering logic in a non-text component that supports
html rendering.
static void
updateRenderer(JComponent c,
String text)
Stash the HTML render for the given text into the client
properties of the given JComponent.
Key stored as a client property to indicate the base that relative
references are resolved against. For example, lets say you keep
your images in the directory resources relative to the code path,
you would use the following the set the base:
Stash the HTML render for the given text into the client
properties of the given JComponent. If the given text is
NOT HTML the property will be cleared of any
renderer.
This method is useful for ComponentUI implementations
that are static (i.e. shared) and get their state
entirely from the JComponent.
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.