|
AjaxSwing provides a number of custom components that extend the functionality provided by standard Swing components.
AccordionPane (JavaDoc)
AccordionPane (also known as Stack Panel) mimics vertical Outlook tabs. AjaxSwing provides as a very basic
Swing implementation that wraps a JTabbedPane, with the fully featured AJAX version of the component. AccordionPane can also
be used as a drop-in replacement for JMenuBar for sites that opt for side navigation menu instead of top navigation menu.
See AjaxSwing WebMail demo for an example of how to use AccordionPane.
Insert AccordionPane into the Swing application and add tabs to it using either add(String, JComponent) method or addMenus(JMenuBar) methods.
The styles of the rendered AccordionPane can be customized through CSS.
|