To take the glyph example a little bit further, you can easily include functionality to display amounts of information depending on the size that the glyph is rendered.
Here is the source for an example that will display a text String to fit inside the bounding area of its glyph.
The code for the applet shown which uses ScaleText is identical to the previous example except that it creates glyphs of type ScaleText rather than RoundRect.