Welcome to CookSwing Wiki
For examples and references, check the
CookSwing web site.
Introduction
CookSwing is a library which builds Java Swing GUI from XML documents. Unlike many other XUL toolkits, CookSwing is complete in its capability dealing with Swing and beyond. It is mature and stable. It is also under active development. since I make a living by doing Swing GUI :)
Features
- All Swing components can be configured.
- All AWT/Swing LayoutManagers, including GridBagLayout and SpringLayout, can be used.
- Optional JGoodies Forms layout with CookFormLayout.
- All Listeners: AWT (ActionListener, etc), Swing (ChangeListener, etc) and Bean (PropertyChangeListener, etc) can be attached to any components that support them.
- Synchronize menu and button states in XML.
- Include other XML documents, which is useful in setting up layout templates.
- All Swing Border classes, including complex CompoundBorder can be built.
- Simple custom tags extensions. Most fully functional tags can be added using just one line statement using CookXml, the XML decoding engine behind CookSwing.
- Support Locale and ResourceBundle. DocumentBuilder can also be changed to your taste.
- Beyond Swing. Various containers (Vector, LinkedList, Map, Set, and such), String, Integer, Icon, etc can all be configured within CookSwing.
Demo
Try the
Java Web Start demo for a glimpse of the features offered.