JFC JavaLast Updated : 17 Mar 2025 In 1997, Sun Microsystems and IBM decided to solve the problem of access-enabling software. Their aim was to develop such an accessibility API that application developers could implement on Java class libraries to make applications accessible. As the result, Sun Microsystems wrote the accessibility API and IBM has tested their API and implemented it on their foundation classes. Sun Microsystems integrated JFC/ Swing directly into Java 1.2 and later versions. In this section, we are going to discuss the JFC, its components, services, and the difference between JFC and AWT. What if JFC?JFC stands for Java Foundation Classes. It is a rich and comprehensive set of GUI components and services that simplify the development and deployment of desktop, client-side, and internet applications. It is a superset that contains AWT. JFC extends AWT by adding many components and services that are as follows:
Sun Microsystems added a mechanism to the JFC is called Multiplexed UI. It is an extension to the PLAF (Pluggable Look & Feel). A key feature of the PLAF is that it enables developers to swap the Look and Feel of the UI which can be directly accessible. It was developed for application developers to provide a common interface. The Multiplexed UI mechanism allows the developer to:
The following figure describes the JFC architecture. ![]() In the above figure, we see that Swing sits atop of part, but not all, of the AWT components. Swing sits on a number of the APIs that implement the various parts of AWT, including Java2D, Drag-and-Drop, and the Accessibility API. Advantage of JFC
Accordingly, the exhibition of a GUI made through JFC is unsurprising. Therefore, JFC are widely used in client-side applications. Components of JFCThe JFC components includes all the JavaBeans and swing Components that offer re-usability, interoperability, and portability. Note that Swing is an enhancement of AWT, not a replacement. Difference Between JFC and WFC
Next TopicJava-atomic-vs-volatile-vs-synchronized |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India
