- Internet Foundation Classes
The Internet Foundation Classes (IFC) were a
graphics library for Java originally developed byNetcode Corporation and first released byNetscape Corporation onDecember 16 1996 .History
On
April 2 1997 ,Sun Microsystems and Netscape announced their intention to combine IFC with other technologies to form theJava Foundation Classes [cite web
url=http://wp.netscape.com/newsref/pr/newsrelease378.html
title=Sun and Netscape to jointly develop Java Foundation Classes
publisher=Netscape Communications Corporation
date=1997-04-02
accessdate=2007-07-14] .Ultimately, Sun merged the IFC with other technologies under the name "Swing", adding the capability for a pluggable
look and feel of the widgets.Because its technology has been merged to constitute Swing and
Java 2D , IFC is now no longer maintained.Differences with Swing
Swing draw 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 twoLayout manager s, that would be later included in the standardJDK
* some IFC components were able to readHTML 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, theLook and feel of IFC components was written in the components themselves, making it impossible to change it easily.
* IFC components were notJavaBean s. IFC had a specific persistence mechanism [cite web
url=http://infodoc.unicaen.fr/docs/Java/guide.IFC1.1/persist.mak.html#1004819
title=IFC 1.1 guide - Persistence
date=2000-06-15
accessdate=2007-07-15] , but it was a bit complex, and not compatible with the JavaSerialization API.
* event mechanism was still raw [cite web
url=http://infodoc.unicaen.fr/docs/Java/guide.IFC1.1/targets.mak.html#100582
title=IFC 1.1 guide - Targets and commands
date=2000-06-15
accessdate=2007-07-15] , and theEvent loop sometimes needed to be accessed directly.Examples
Hello World
This is the classic "
Hello world program " in IFC:To be compared with the equivalent Java Swing code:
References
External links
* [http://www.phdcc.com/javaart2.html IFC presentation]
* [http://wp.netscape.com/eng/ifc/download.html IFC runtime download]
* [http://infodoc.unicaen.fr/docs/Java/guide.IFC1.1/ IFC programing guide]
* [http://infodoc.unicaen.fr/docs/Java/Reference.IFC1.1/tree.html IFC class hierarchy]
* [http://infodoc.unicaen.fr/docs/Java/cookbook/ IFC tutorial]The last places, where to download the IFC:
* [ftp://ftp.uni-potsdam.de/pub/WWW/Netscape/navigator/plugins/ifc/1.0/ ftp-Server 1 Uni-Potsdam]
* [ftp://ftp.uni-potsdam.de/pub/WWW/clients/netscape/plugins/ifc/1.0/ ftp-Server 2 Uni-Potsdam]
* [ftp://ftp.uni-potsdam.de/pub/WWW/netscape/navigator/plugins/ifc/1.0/ ftp-Server 3 Uni-Potsdam]
* [ftp://ftp.ruhr-uni-bochum.de/.subdisc1/local/jk.collection/ ftp-Server Uni-Bochum]
* [ftp://ftp.anu.edu.au/sunsite/mnt/disk3/WWW/netscape/navigator/plugins/ifc/1.0/ ftp-Server SunSite] All find from
* [http://www.filesearching.com/cgi-bin/s?q=nsifc10 FileSearching.com]
Wikimedia Foundation. 2010.