Kamis, 08 Maret 2012

Java Foundation Classes (JFC)

            The Java Foundation Classes (JFC) are a graphical framework for building portable title "Java (programming language)" Java-based graphical user interfaces (GUIs). JFC consists of the Abstract Window Toolkit (AWT), Swing and Java 2D. Together, they provide a consistent user interface for Java programs, regardless whether the underlying user interface system is Windows, Mac OS X or Linux.

           
             AWT existed before JFC. AWT was heavily criticized for being little more than a wrapper around the native graphical capabilities of the host platform. That meant that the standard widgets in the AWT relied on those capabilities of the native widgets, requiring the developer to also be aware of the differences between host platforms.
An alternative graphics library called the Internet Foundation Classes was developed in more platform-independent code by Netscape.
At the same time, another graphics library, called Application Foundation Classes (AFC), was developed independently by Microsoft. It was made to be easier to extend the graphic components, but was primarily aimed for use with the Microsoft Java Virtual Machine.
On April 2, 1997, Sun Microsystems and Netscape announced their intention to combine IFC with other technologies to form the "Java Foundation Classes". The "Java Foundation Classes" were later renamed "Swing", adding the capability for a pluggable look and feel of the widgets. This allowed Swing programs to maintain a platform-independent code base, but mimic the look of a native application. The release of JFC made IFC obsolete, and dropped interest for Microsoft's AFC.

            Jadi, intinya si JFC ini adalah framework GUI punya JAVA yg terdiri dari Abstract Window Toolkit (AWT), Swing, Java 2D, dan Standard Window Toolkit (SWT), dan itu nggak tergantung sama OS, entah linux, windows atau MAC. Tentang SWT, AWT dan Swing akan ada di posting selanjutnya :D


Tidak ada komentar:

Posting Komentar