Thinlet is a GUI toolkit, implemented as a single Java class, which parses the XML defeinition of widget hierarchy and properties of the GUI, handles user interaction, and calls business logic. It separates the graphic presentation (described in an XML file) and the application methods (written as Java code).