TIC documentation
To develop a toolkit independent GUI component, that new class must inherit from TICComponent. See there for details on which methods need to be implemented in which case.
To use a TIC component in an application, the factories SwingComponentFactory or SWTComponentFactory can be used to create a toolkit specific version. Their JavaDocs contain according code examples.
API documentation
The full documentation of all TIC classes can be found in the JavaDoc.
Example code
Basic example
The subversion repository contains an example implementation of a TIC component, as well as minimal Swing and SWT applications that demonstrate the use of that component.
Examples for scrolling components with TIC
-
Toolkit-independent access to scroll containers like
JScrollPane
orScrolledComposite
- Direct scrolling functionality to overcome the component size limitation in SWT
More complex examples
LibrAlign is a GUI component library for displaying and editing multiple sequence alignments. All components it provides are based on TIC and therefore usable in Swing and SWT. More complex examples can be found in the source code of LibrAlign. The following list contains links to some example components there: