Swing Rendering Engine
A minimal HTML page loading the SWIXML rendering engine looks like this:
<body leftmargin=0 topmargin=0 bottommargin=0 rightmargin=0>
<param name="xml" value="/xml/gui.xml"/>
The Applet requests an XML descriptor file from the server it was originally loaded form. (In the sample code, the gui.xml file is requested and loaded.) The content of this descriptor completely determines the GUI.
A minimal descriptor would look something like this:
<?xml version="1.0" encoding="UTF-8"?>
<panel background="6699cc" constraints="BorderLayout.CENTER">
<label text="Hello Swinglet"/>
<button text="OK" tooltiptext="Press OK"/>
Swixml, founded by Wolf Paulus
Copyright ©2003-2011 - Wolf Paulus. All Rights Reserved.
Email: [email protected]
All trademarks are property of their respective owners.
swixml.org is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.