Design JavaME Apps with CSS

HTMLComponent Gets CSS Support

Jessica Thornsby

CSS support had been added to the HTMLComponent, and is now publicly available at the LWUIT Subversion.

This support gives developers the option of rendering HTML documents in their JavaME apps, and designing them with CSS, for example by adding backgrounds, margins, lists, and fonts. CSS support can be disabled by calling HTMLComponent’s setIgnoreCSS method.

At the announcement, Ofir Leitner reveals that HTMLComponent is now 90% compliant with the XHTML Mobile Profile 1.0 standard.

comments powered by Disqus