Swing drew a lot of features from IFC: • contrary to
AWT, IFC were written in pure
Java, thus being (at the time) browser-independent. • IFC already provided two
Layout managers, that would be later included in the standard
JDK • some IFC components were able to read
HTML content from
URLs, but the implementation was still far from reliable. However, Swing also improved IFC in a lot of ways: • IFC did not have a
Model-View architecture • contrary to Swing, the
Look and feel of IFC components was written in the components themselves, making it impossible to change it easily. • IFC components were not
JavaBeans. IFC had a specific persistence mechanism, but it was a bit complex, and not compatible with the Java
Serialization API. • event mechanism was still raw, and the
Event loop sometimes needed to be accessed directly. ==Examples==