An HTML package of the Windows foundation classes framework allows Java
developers to write Java code normally as if they were writing to any
user interface framework. The WFC framework converts their coding into
standard HTML for display on an Internet Explorer version 4.0 web
browser, a selected browser or generic HTML if so indicated by the
developer. The HTML generation process is replaceable with third party
generators to specifically target selected browsers with differing
capabilities. During code writing key value pairs are maintained in
arrays and are used to generate styles and attributes, which are further
used to generate HTML. Also, several states are used when the code is
being written to manage modification and display of HTML directly on a
browser. The states and movement between them are transparent to the
programmer because the states are handled internally by the library.