Rosella Data Mining & Database Analytics |
Home | Business Intelligence | Data Mining | Rosella DBMS | Products & Downloads | Site Map | Contact Us | |
|
SWT PatternsSWT Design Patterns (for the Eclipse package) has been developed based on past experience in developing very complex GUI software systems in AWT and Swing. Originally, we have developed GUI Patterns to overcome the differences in how things are done in different versions of Java GUI packages. Especially, event handling between Java 1.0 AWT and Java 1.1 AWT and Swing is very different, making Java GUI application programs incompatible! This problem was caused by the changes in how things are done in different versions. Our solution was to develop adaptor patterns that provide source code level compatibility for Java GUI application programs, with the emphasis on "what should be done", not "how should be done" that created the problem. Note that without this, we should have written large applications virtually three times! We use two patterns: AWT Design Patterns and Swing Design Patterns with nearly identical APIs. (Note that we have to virtually abandon the Swing version due to the well-known quality issues of Swing widgets.) The approach has proven to be extremely powerful in terms of software development and management, in addition to maintaining source code compatibility. We investigated the idea of extending this to SWT. Our aim was to make AWT/Swing programs to run as SWT programs with SWT Patterns after recompilation, which will make migration to SWT trivial! However, there are a few critical constraints in SWT that limit full compatibility between SWT and others. For example, SWT widgets have mandatory parentage! You have to create them in hierarchical order which is not required in AWT/Swing. This alone made our initial aim impossible to implement. Instead, we ended up with the current package which will make easier for both developers with AWT/Swing experience and SWT-only developers to write. It can reduce effort required in rewriting s/w. SWT Patterns offers the following advantages;
Keep in mind that it's very difficult to develop large
|