You can get the window as a PNG image, or as a HTML web page with various attributes. You can also get a list of available windows by not passing one in.
Configuration of the HTML is via the JmriJFrameServlet.properties file, allowing internationalization.